Skip to content

Delete a user

DELETE
/scim/v2/Users/{id}
curl --request DELETE \
--url https://forge.example.com/scim/v2/Users/example \
--header 'Authorization: Bearer <token>'

Deactivates the person, ends their sessions and takes them out of the provider’s groups; the person and their work stay. From then on SCIM does not see them; making them again with the same userName takes them back.

id
required
string

Done. The answer has no body.

A refusal or an error on the SCIM endpoints, as SCIM’s error document (RFC 7644 section 3.12).

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

Example generated

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