NetBox icon

NetBox

Consume NetBox API

Actions243

Module Bay → Delete

AI-generated

Overview

This node interacts with the NetBox API to delete a specific Module Bay resource within the DCIM domain. It is useful in scenarios where you need to programmatically remove module bay records from your NetBox instance, such as during automated infrastructure cleanup or management workflows.

Use Case Examples

  1. Deleting a module bay by specifying its ID to keep the NetBox inventory up to date.
  2. Automating the removal of module bays as part of a device decommissioning process.

Properties

Name Meaning
Domain Specifies the domain of the NetBox API to interact with, here it is set to 'dcim' for data center infrastructure management.
Module Bay ID The unique identifier of the module bay to be deleted.

Output

JSON

  • json - The JSON response from the NetBox API after attempting to delete the module bay, typically indicating success or failure.

Dependencies

  • Requires an API key credential for authenticating with the NetBox API.

Troubleshooting

  • Common issues include providing an invalid or non-existent Module Bay ID, which will result in an error from the API.
  • Authentication failures due to incorrect or missing API credentials.
  • Network connectivity issues preventing access to the NetBox API endpoint.

Discussion