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
Site Group → Create
AI-generatedOverview
This node interacts with the NetBox API to create a new Site Group within the DCIM domain. It is useful for network administrators or IT professionals who want to automate the management of site groups in their NetBox instance. For example, it can be used to programmatically add new site groups with specific names, slugs, and additional metadata such as parent group, description, tags, and custom fields.
Use Case Examples
- Creating a new site group named 'Data Center East' with a unique slug and associating it with a parent site group ID.
- Adding a site group with descriptive tags and custom JSON fields for enhanced metadata management.
Properties
| Name | Meaning |
|---|---|
| Domain | Specifies the domain of the NetBox API to interact with, here it is set to 'dcim' for data center infrastructure management. |
| Name | The name of the site group to be created. |
| Slug | A unique slug identifier for the site group. |
| Additional Fields | Optional additional fields for the site group such as parent ID, description, tags, and custom fields in JSON format. |
Output
JSON
id- Unique identifier of the created site group.name- Name of the created site group.slug- Slug of the created site group.parent- Parent site group ID if assigned.description- Description of the site group.tags- Tags associated with the site group.custom_fields- Custom fields data associated with the site group.
Dependencies
- NetBox API with appropriate credentials
Troubleshooting
- Common issues include authentication failures due to invalid API credentials, which result in authorization errors.
- Validation errors if required fields like 'Name' or 'Slug' are missing or if the slug is not unique.
- Network connectivity issues preventing access to the NetBox API endpoint.
Links
- NetBox API Documentation - Official documentation for the NetBox API which this node interacts with.