NetBox icon

NetBox

Consume NetBox API

Actions243

Rack Type → Delete

AI-generated

Overview

This node interacts with the NetBox API to delete a specific Rack Type resource within the DCIM domain. It is useful for automating the removal of rack type entries in NetBox, which is a popular infrastructure resource modeling tool. For example, a user can delete a rack type by specifying its ID, streamlining infrastructure management workflows.

Use Case Examples

  1. Deleting a rack type by providing its unique ID to keep the NetBox inventory up to date.
  2. Automating cleanup of obsolete rack types in a data center management system.

Properties

Name Meaning
Domain Specifies the domain of the NetBox API to target, here it is 'dcim' for data center infrastructure management.
ID The unique identifier of the rack type record to delete.

Output

JSON

  • success - Indicates whether the deletion was successful.
  • message - Additional information or error message related to the deletion operation.

Dependencies

  • NetBox API with appropriate authentication credentials

Troubleshooting

  • Ensure the provided ID corresponds to an existing rack type; otherwise, the API will return an error.
  • Verify that the API credentials have sufficient permissions to delete rack types in the DCIM domain.
  • Common error messages include 'Not Found' if the ID does not exist, or 'Unauthorized' if credentials are invalid or lack delete permissions.

Links

Discussion