NetBox icon

NetBox

Consume NetBox API

Actions243

Device Bay → Delete

AI-generated

Overview

This node interacts with the NetBox API to delete a specific Device Bay record within the DCIM domain. It is useful in scenarios where you need to programmatically remove device bay entries from your NetBox inventory, such as during automated cleanup or decommissioning processes.

Use Case Examples

  1. Deleting a device bay by specifying its ID to keep the inventory up to date.
  2. Automating the removal of device bays as part of a larger network infrastructure management workflow.

Properties

Name Meaning
Domain Specifies the domain of the NetBox API to interact with, here it is set to 'dcim' for device-related resources.
Device Bay ID The unique identifier of the device bay to be deleted.

Output

JSON

  • success - Indicates whether the deletion operation was successful.
  • message - Additional information or confirmation message about the deletion.

Dependencies

  • NetBox API
  • An API key credential for authentication

Troubleshooting

  • Ensure the Device Bay ID is correct and exists in the NetBox instance to avoid 'not found' errors.
  • Verify that the API key credential has sufficient permissions to delete device bays.
  • Check network connectivity to the NetBox API endpoint.
  • If 'continue on fail' is enabled, errors will be returned as output instead of stopping execution.

Links

Discussion