Delete the Group with the specified id.
Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:admin-write
.
1
2
3
curl -X DELETE \
\t-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/admin/groups/0d1fe74e-2b70-4a93-9b1a-80070637788b"
Error Name | ||
---|---|---|
Delete | Error Code | PERMISSION_DENIED |
Status Code | 403 | |
Description | Could not delete the Group. | |
Parameters | groupId | |
Delete | Error Code | PERMISSION_DENIED |
Status Code | 403 | |
Description | Could not delete the Group. | |
Parameters | groupId | |
Group | Error Code | NOT_FOUND |
Status Code | 404 | |
Description | The given Group could not be found. | |
Parameters | groupId |
See Errors for a general overview of errors in the platform.