Deprovision a member
DELETE
/Users/{id}
const url = 'https://example.com/scim/v2/Users/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
The member’s id, as GET /Users lists it.
Responses
Section titled “Responses”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"}Headers
Section titled “Headers”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"}