Change a user
PATCH
/scim/v2/Users/{id}
const url = 'https://forge.example.com/scim/v2/Users/example';const options = {method: 'PATCH', 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 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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”A SCIM document.
Media typeapplication/scim+json
string
Example generated
exampledefault
Section titled “default”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"}