Skip to content

Deprovision a member

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

Deactivates the member in the same transaction, revoking every session and personal token of theirs before the response is sent, and answers 204; the row is kept, never removed.

id
required
string format: uuid

The member’s id, as GET /Users lists it.

The member was deactivated.

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"
}