Actions243
- Cable Actions
- Cable Termination Actions
- Connected Device Actions
- Console Port Actions
- Console Port Template Actions
- Console Server Port Actions
- Console Server Port Template Actions
- Device Actions
- Device Bay Actions
- Device Bay Template Actions
- Device Role Actions
- Device Type Actions
- Front Port Actions
- Front Port Template Actions
- Interface Actions
- Interface Template Actions
- Inventory Item Actions
- Inventory Item Role Actions
- Inventory Item Template Actions
- Location Actions
- MAC Address Actions
- Manufacturer Actions
- Module Actions
- Module Bay Actions
- Module Bay Template Actions
- Module Type Actions
- Module Type Profile Actions
- Platform Actions
- Power Feed Actions
- Power Outlet Actions
- Power Outlet Template Actions
- Power Panel Actions
- Power Port Actions
- Power Port Template Actions
- Rack Actions
- Rack Reservation Actions
- Rack Role Actions
- Rack Type Actions
- Rear Port Actions
- Rear Port Template Actions
- Region Actions
- Site Actions
- Site Group Actions
- Virtual Chassis Actions
- Virtual Device Context Actions
- Virtual Link Actions
Site → Delete
AI-generatedOverview
This node interacts with the NetBox API to delete a site record within the DCIM domain. It is useful for automating the removal of site entries in NetBox, which is a popular infrastructure resource modeling tool. For example, if a site is decommissioned or no longer needed, this node can be used to programmatically delete the site by specifying its Site ID.
Use Case Examples
- Deleting a site from the DCIM domain by providing the Site ID to remove obsolete or incorrect site data.
- Automating cleanup of site records in NetBox as part of infrastructure lifecycle management.
Properties
| Name | Meaning |
|---|---|
| Domain | Specifies the domain of the NetBox API to interact with, here it is set to 'dcim' for data center infrastructure management. |
| Site ID | The unique identifier of the site to be deleted in the DCIM domain. |
Output
JSON
success- Indicates whether the site deletion was successful.message- Provides additional information or confirmation about the deletion operation.
Dependencies
- NetBox API with appropriate credentials
Troubleshooting
- Ensure the Site ID provided is correct and exists in the NetBox instance; otherwise, the deletion will fail.
- Verify that the API credentials have sufficient permissions to delete site records in the DCIM domain.
- Common error messages may include authorization errors or resource not found errors, which indicate permission issues or invalid Site ID respectively.
Links
- NetBox API Documentation for Sites - Official documentation for managing sites via the NetBox API, including deletion.