Skip to content

Delete a group

DELETE
/Groups/{id}
curl --request DELETE \
--url https://example.com/scim/v2/Groups/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'

Removes the group and answers 204; its members leave it.

id
required
string format: uuid

The group’s id, as GET /Groups lists it.

The group was deleted.

No usable SCIM bearer: missing, not fn_scim_…, unknown, revoked, expired or of a disabled provider, with WWW-Authenticate: Bearer and no scimType (RFC 7644 defines none for it). A refused bearer counts against the address’s throttle; an address over it is answered 429.

Media typeapplication/scim+json
object
schemas
required
Array<string>
status
required
string
scimType
string
detail
string

Example generated

{
"schemas": [
"example"
],
"status": "example",
"scimType": "example",
"detail": "example"
}
WWW-Authenticate
string

No member or group of the token’s provider has this id.

Media typeapplication/scim+json
object
schemas
required
Array<string>
status
required
string
scimType
string
detail
string

Example generated

{
"schemas": [
"example"
],
"status": "example",
"scimType": "example",
"detail": "example"
}