Skip to content

Replace a user

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

Every attribute kept, as the body has it; active only when it is sent. The userName of an administrator, or of someone who signs in with a password, is not changed (400 mutability). An If-Match that is not the user’s version answers 412.

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