Rename an existing asset group.
X-API-KEY header:
| Parameter | Type | Required | Description |
|---|---|---|---|
| groupId | number | Yes | ID of the group to update |
| Field | Type | Required | Description |
|---|---|---|---|
| groupId | number | Yes | ID of the group to update (must match path parameter) |
| name | string | Yes | New name for the group (1-255 characters) |
| Field | Type | Description |
|---|---|---|
| id | number | Group ID |
| name | string | Updated group name |
| Error Message | Cause | Resolution |
|---|---|---|
| Group with ID not found | Invalid group ID | Verify the group ID exists |
| Group does not belong to your organization | Group belongs to a different organization | Use a group ID from your organization |
| A group with this name already exists | Duplicate group name | Choose a different name |
| Group name is required | Missing name field in request | Provide a name field |
| Group name must be between 1 and 255 characters | Name is too short or too long | Use a name with 1-255 characters |
| Path parameter groupId does not match body | Mismatch between URL and body group IDs | Ensure both group IDs match |
Your API key. This is required by most endpoints to access our API programatically. Reach out to us at [email protected] to get an API key for your use.
ID of the group to update
x > 01 - 255