Delete an asset group. Assets in this group will become ungrouped.
X-API-KEY header:
| Parameter | Type | Required | Description |
|---|---|---|---|
| groupId | number | Yes | ID of the group to delete |
| Field | Type | Required | Description |
|---|---|---|---|
| groupId | number | Yes | ID of the group to delete (must match path parameter) |
| Field | Type | Description |
|---|---|---|
| success | boolean | Always true for successful deletions |
| id | number | ID of the deleted group |
| unassignedAssetCount | number | Number of assets that were in the group (now ungrouped) |
| Error Message | Cause | Resolution |
|---|---|---|
| Group with ID not found | Invalid group ID or already deleted | 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 |
| Group ID is required | Missing groupId field in request | Provide a groupId field |
| Path parameter groupId does not match body | Mismatch between URL and body group IDs | Ensure both group IDs match |
unassignedAssetCount in the response shows how many assets were affectedYour 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 delete
x > 0