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 Type → Update
AI-generatedOverview
This node interacts with the NetBox API to update a Module Type resource within the DCIM domain. It allows users to modify details of a specific module type by providing its ID and the fields to update, such as model name, manufacturer ID, part number, weight, description, comments, tags, and custom fields. This is useful for network administrators or IT professionals managing hardware inventory and configurations in NetBox, enabling automated updates to module type records.
Use Case Examples
- Updating the model name and part number of a module type to reflect new hardware specifications.
- Adding comments or tags to a module type for better categorization and documentation.
- Changing the weight and weight unit of a module type to ensure accurate physical inventory data.
Properties
| Name | Meaning |
|---|---|
| Domain | Specifies the domain of the NetBox API to interact with, here it is 'dcim' for data center infrastructure management. |
| Module Type ID | The unique identifier of the module type to update. |
| Update Fields | A collection of fields that can be updated for the module type, including model, manufacturer ID, part number, weight, weight unit, description, comments, tags, and custom fields. |
Output
JSON
id- ID of the updated module type recordmodel- Model name of the updated module typemanufacturer- Manufacturer ID of the updated module typepart_number- Part number of the updated module typeweight- Weight of the updated module typeweight_unit- Weight unit of the updated module typedescription- Description of the updated module typecomments- Comments about the updated module typetags- Tags associated with the updated module typecustom_fields- Custom fields of the updated module type
Dependencies
- NetBox API
- An API key credential for authentication
Troubleshooting
- Common issues include providing an invalid Module Type ID, which results in a not found error from the API.
- Incorrectly formatted update fields, such as invalid JSON in custom fields, may cause the update to fail.
- Network connectivity issues or invalid API credentials will prevent successful communication with the NetBox API.
Links
- NetBox API Documentation - Official documentation for the NetBox API, useful for understanding available endpoints and data structures.