NetBox icon

NetBox

Consume NetBox API

Actions243

Rack Type → Update

AI-generated

Overview

This node updates a Rack Type resource in the NetBox API under the DCIM domain. It is useful for modifying existing rack type records with new or changed information, such as manufacturer ID, name, form factor, dimensions, weight, description, tags, and custom fields. For example, you can update the form factor or dimensions of a rack type to reflect changes in your data center inventory.

Use Case Examples

  1. Updating the name and form factor of a rack type to match new specifications.
  2. Changing the weight and dimensions of a rack type to reflect updated physical characteristics.

Properties

Name Meaning
Domain The domain of the NetBox API to use, fixed to 'dcim' for Rack Type operations.
ID The unique identifier of the rack type record to update.
Update Fields A collection of fields to update on the rack type record, including manufacturer ID, name, slug, form factor, width, U height, starting unit, descending units, outer width, outer depth, outer unit, weight, max weight, weight unit, description, tags, and custom fields.

Output

JSON

  • id - The unique identifier of the updated rack type record.
  • manufacturer - Manufacturer ID associated with the rack type.
  • name - Name of the updated rack type.
  • slug - Slug identifier of the updated rack type.
  • form_factor - Form factor of the updated rack type.
  • width - Width in inches of the updated rack type.
  • u_height - Height in rack units (U) of the updated rack type.
  • starting_unit - Starting unit number of the updated rack type.
  • desc_units - Boolean indicating if units are descending.
  • outer_width - Outer width dimension of the updated rack type.
  • outer_depth - Outer depth dimension of the updated rack type.
  • outer_unit - Unit of measurement for outer dimensions.
  • weight - Weight of the updated rack type.
  • max_weight - Maximum weight capacity of the updated rack type.
  • weight_unit - Unit of measurement for weight.
  • description - Description of the updated rack type.
  • tags - Tags associated with the updated rack type.
  • custom_fields - Custom fields of the updated rack type in JSON format.

Dependencies

  • NetBox API with appropriate authentication credentials

Troubleshooting

  • Ensure the Rack Type ID provided is correct and exists in the NetBox instance.
  • Verify that the API credentials have permission to update rack types in the DCIM domain.
  • Check that the update fields are formatted correctly, especially JSON for custom fields and comma-separated tags.
  • Common error messages may include authentication failures, resource not found, or validation errors on fields. Resolving these involves checking credentials, IDs, and field formats.

Links

Discussion