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
Module Bay Template → Update
AI-generatedOverview
This node updates a Module Bay Template resource in the NetBox API under the DCIM domain. It is useful for modifying existing module bay templates by changing properties such as device type ID, module type ID, name, label, position, and description. For example, it can be used to rename a module bay template or update its physical label or description.
Use Case Examples
- Updating the name and label of a specific module bay template by providing its ID and new values.
- Changing the device type or module type associated with a module bay template.
Properties
| Name | Meaning |
|---|---|
| Domain | Specifies the domain of the NetBox API to use, here it is 'dcim' for device and component management. |
| Module Bay Template ID | The unique identifier of the module bay template to update. |
| Update Fields | A collection of fields to update on the module bay template, including device type ID, module type ID, name, label, position, and description. |
Output
JSON
id- The unique identifier of the updated module bay template.device_type- The device type ID associated with the updated module bay template.module_type- The module type ID associated with the updated module bay template.name- The updated name of the module bay template.label- The updated physical label of the module bay template.position- The updated position identifier of the module bay template.description- The updated description of the module bay template.
Dependencies
- NetBox API
- An API key credential for authentication
Troubleshooting
- Ensure the Module Bay Template ID is valid and exists in the NetBox instance to avoid 'not found' errors.
- Verify that the API key credential has sufficient permissions to update module bay templates.
- If the update fields are empty or invalid, the API may reject the request; ensure fields are correctly specified.
- Common error messages include authentication failures, invalid resource IDs, or validation errors on update fields.
Links
- NetBox API Documentation for Module Bay Templates - Official documentation for the Module Bay Template resource in the NetBox API, including update operations.