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
Rack Role → Update
AI-generatedOverview
This node updates an existing Rack Role record in the NetBox API under the DCIM domain. It is useful for modifying attributes of a Rack Role such as its name, slug, color, description, tags, and custom fields. For example, you can update the color or description of a Rack Role to better organize and document your data center racks.
Use Case Examples
- Updating the color and description of a Rack Role to reflect a new organizational scheme.
- Modifying the tags associated with a Rack Role to improve searchability and categorization.
Properties
| Name | Meaning |
|---|---|
| Domain | Specifies the domain of the NetBox API to use, here it is 'dcim' for data center infrastructure management. |
| ID | The unique identifier of the Rack Role record to update. |
| Update Fields | Collection of fields to update on the Rack Role record, including name, slug, color (hex), description, tags (comma-separated), and custom fields (JSON format). |
Output
JSON
id- The unique identifier of the updated Rack Role.name- The name of the updated Rack Role.slug- The slug of the updated Rack Role.color- The color (hex) of the updated Rack Role.description- The description of the updated Rack Role.tags- Tags associated with the updated Rack Role.custom_fields- Custom fields of the updated Rack Role.
Dependencies
- NetBox API
- An API key credential for authentication
Troubleshooting
- Ensure the Rack Role ID provided exists in the NetBox instance; otherwise, the update will fail with a not found error.
- Validate the JSON format for custom fields to avoid parsing errors.
- Check that the API key credential is correctly configured and has permissions to update Rack Role resources.
- If the node throws an error, enabling 'Continue on Fail' will allow the workflow to proceed and output the error message as JSON.
Links
- NetBox API Documentation for Rack Roles - Official documentation for the Rack Roles resource in the NetBox API, including update operations.