NetBox icon

NetBox

Consume NetBox API

Actions243

Rack Reservation → Delete

AI-generated

Overview

This node interacts with the NetBox API to delete a specific Rack Reservation record within the DCIM domain. It is useful for automating the removal of rack reservation entries in network infrastructure management workflows, such as when a rack reservation is no longer needed or was created in error.

Use Case Examples

  1. Deleting a rack reservation by specifying its ID to free up rack space in a data center management system.
  2. Automating cleanup of expired or obsolete rack reservations in NetBox.

Properties

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

Output

JSON

  • success - Indicates whether the deletion operation was successful.
  • id - The ID of the deleted rack reservation record.

Dependencies

  • NetBox API
  • An API key credential for authentication

Troubleshooting

  • Ensure the provided ID corresponds to an existing rack reservation; otherwise, the API will return an error.
  • Verify that the API key credential has sufficient permissions to delete rack reservations in the NetBox instance.
  • Common error messages include authorization errors (due to invalid or insufficient credentials) and not found errors (if the ID does not exist). Resolving these involves checking credentials and the validity of the ID.

Links

Discussion