Delete a group

DELETE
/api/groups/[group_id]
Permanently deletes a group and unassigns all users associated with it. This action is irreversible.

Path Parameters

group_id
string
Required

The ID of the group to be deleted.

Authentication

X-API-KEY
header
Required

The API key is essential for accessing MonoCloud's APIs. You can find it in the Tenant Settings section of your MonoCloud dashboard. To authenticate your requests, include this key in the request header using the following format: X-API-Key: <Your_API_Key>.

Headers

accept
string
  • application/problem+json

Responses

204
Successfully deleted the group
422
Client Error
404
Not Found
403
Forbidden
401
Unauthorized

Request Example

Request
curl -X DELETE "https://<your-domain>/api/groups/{group_id}" \
 -H "X-API-KEY: <your-api-key>"

Response Example

Response
204 No Content
No Content