NetBox icon

NetBox

Consume NetBox API

Actions243

Rack Role → Delete

AI-generated

Overview

This node interacts with the NetBox API to delete a Rack Role resource within the specified domain. It is useful for automating the removal of rack role entries in network infrastructure management, such as when decommissioning or reorganizing rack roles in a data center.

Use Case Examples

  1. Deleting a specific Rack Role by its ID in the DCIM domain to keep the inventory up to date.
  2. Automating cleanup of obsolete rack roles in bulk operations via workflow automation.

Properties

Name Meaning
Domain Specifies the domain of the NetBox API to target, e.g., DCIM, IPAM, Tenancy, etc.
ID The unique identifier of the Rack Role record to delete.

Output

JSON

  • success - Indicates whether the deletion was successful.
  • error - Error message if the deletion failed.

Dependencies

  • NetBox API with appropriate credentials

Troubleshooting

  • Ensure the provided ID exists and is correct; otherwise, the API will return an error indicating the record was not found.
  • Verify that the API credentials have sufficient permissions to delete Rack Role resources.
  • If the node throws an error, check the error message for details; enabling 'Continue on Fail' allows the workflow to proceed with error output instead of stopping.

Links

  • NetBox API Documentation - Official documentation for the NetBox API, useful for understanding resource endpoints and operations.

Discussion