Skip to content

Change a user

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

Operations add, replace and remove, in any case, with a path such as active, name.givenName or emails[type eq "work"].value, or with a value object whose names may be paths. active takes true and false, or the strings True and False. False deactivates the person: their sessions end and they cannot sign in, at once. True lets back in a person SCIM deactivated; one an administrator deactivated stays so. The last active administrator is not deactivated (403). Every operation is checked before any is applied.

id
required
string

A SCIM document.

Media typeapplication/scim+json
string

Example generated

example

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