NetBox icon

NetBox

Consume NetBox API

Actions243

Location → Delete

AI-generated

Overview

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

  1. Deleting a location by specifying its Location ID in the DCIM domain to keep the NetBox inventory up to date.
  2. 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

Discussion