1. Docs
  2. API Reference
  3. Delete a group

Delete a group

DELETE/scim/v2/directories/{directoryId}/Groups/{id}

SCIM 2.0 (RFC 7644 §3.6). Deletes the group and releases the role assignments it granted, unless another group still justifies them. Returns 204 with no body. Errors use SCIM's error schema (RFC 7644 §3.12).

Path Parameters

directoryIdstring Required

The directory the SCIM token was minted for.

idstring Required

Responses

The group was deleted; no body

application/scim+json

  • schemasstring[]*
  • statusstring*

    The HTTP status, as a string

  • detailstring*
  • scimTypestring

    Present for some refusals, e.g. `uniqueness`

application/scim+json

  • schemasstring[]*
  • statusstring*

    The HTTP status, as a string

  • detailstring*
  • scimTypestring

    Present for some refusals, e.g. `uniqueness`

Request
curl -X DELETE "https://auth.canopy-io.com/scim/v2/directories/value/Groups/value"
Response
HTTP/1.1 204 The group was deleted; no body

(empty body)
Related endpoints Was this page helpful?

Tell us how we can improve this guide.