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
Location → Delete
AI-generatedOverview
This node interacts with the NetBox API to delete a specific Location resource within the DCIM domain. It is useful for automating the removal of location entries in NetBox, such as data center locations or physical site locations, based on their unique ID.
Use Case Examples
- Deleting a location by specifying its Location ID in the DCIM domain to keep the NetBox inventory up to date.
- Automating cleanup of obsolete or incorrect location records in NetBox through workflow automation.
Properties
| Name | Meaning |
|---|---|
| Domain | Specifies the domain of the NetBox API to target, here it is set to 'dcim' for data center infrastructure management. |
| Location ID | The unique identifier of the location record to delete in the DCIM domain. |
Output
JSON
id- The ID of the deleted location record.status- Status or confirmation of the deletion operation.
Dependencies
- NetBox API with appropriate credentials
Troubleshooting
- Ensure the Location ID provided is valid and exists in the NetBox instance to avoid 'not found' errors.
- Verify that the API credentials have sufficient permissions to delete location records in the DCIM domain.
- If the node throws an error, check network connectivity and API endpoint configuration.
- Enable 'Continue on Fail' option to handle errors gracefully and receive error details in output.
Links
- NetBox API Documentation for DCIM Locations - Official documentation for managing locations via the NetBox API, including deletion.