Actions243
- Cable Actions
- Cable Termination Actions
- Connected Device Actions
- Console Port Actions
- Console Port Template Actions
- Console Server Port Actions
- Console Server Port Template Actions
- Device Actions
- Device Bay Actions
- Device Bay Template Actions
- Device Role Actions
- Device Type Actions
- Front Port Actions
- Front Port Template Actions
- Interface Actions
- Interface Template Actions
- Inventory Item Actions
- Inventory Item Role Actions
- Inventory Item Template Actions
- Location Actions
- MAC Address Actions
- Manufacturer Actions
- Module Actions
- Module Bay Actions
- Module Bay Template Actions
- Module Type Actions
- Module Type Profile Actions
- Platform Actions
- Power Feed Actions
- Power Outlet Actions
- Power Outlet Template Actions
- Power Panel Actions
- Power Port Actions
- Power Port Template Actions
- Rack Actions
- Rack Reservation Actions
- Rack Role Actions
- Rack Type Actions
- Rear Port Actions
- Rear Port Template Actions
- Region Actions
- Site Actions
- Site Group Actions
- Virtual Chassis Actions
- Virtual Device Context Actions
- Virtual Link Actions
Device Bay → Update
AI-generatedOverview
This node updates a Device Bay record in the NetBox API under the DCIM domain. It is useful for scenarios where you need to modify details of a device bay, such as changing its name, label, description, or associated devices. For example, updating the physical label or installing a new device in the bay can be automated using this node.
Use Case Examples
- Updating the name and label of a device bay to reflect new hardware changes.
- Setting the installed device ID to track which device is currently installed in the bay.
- Adding or modifying custom fields or tags for better categorization and management.
Properties
| Name | Meaning |
|---|---|
| Domain | Specifies the domain of the NetBox API to use, here it is 'dcim' for device-related resources. |
| Device Bay ID | The unique identifier of the device bay to update. |
| Update Fields | Collection of fields to update on the device bay, including device ID, name, label, description, installed device ID, tags, and custom fields. |
Output
JSON
id- ID of the updated device bay record.device- ID of the parent device associated with the device bay.name- Name of the device bay.label- Physical label of the device bay.description- Description of the device bay.installed_device- ID of the device installed in the bay.tags- Tags associated with the device bay.custom_fields- Custom fields data for the device bay.
Dependencies
- NetBox API
- API authentication token or API key credential
Troubleshooting
- Ensure the Device Bay ID is valid and exists in the NetBox instance to avoid 'not found' errors.
- Verify that the API credentials have sufficient permissions to update device bays.
- Check the format of custom fields JSON to avoid parsing errors.
- If the node throws an error, enabling 'Continue on Fail' will output the error message as JSON instead of stopping execution.
Links
- NetBox Device Bay API Documentation - Official documentation for the Device Bay resource in NetBox API.