Update SCIM user
Updates a SCIM user. The userName should be set by the client within the request body.
1{2 "id": "2bca4a63-0892-484a-a9ef-aff7b7f0c795",3 "userName": "scim-example3@sas.com",4 "title": "Senior Engineer",5 "active": true,6 "externalId": "scim-example3@sas.com",7 "displayName": "SCIM Example User 3 - Updated",8 "emails": [9 {10 "value": "scim-example3@sas.com",11 "type": "work"12 },13 {14 "value": "example3@personal.com",15 "type": "home"16 }17 ],18 "phoneNumbers": [19 {20 "value": "919-555-1234",21 "type": "work"22 }23 ],24 "addresses": [25 {26 "type": "work",27 "streetAddress": "100 SAS Campus Drive",28 "locality": "Cary",29 "region": "NC",30 "country": "US",31 "postalCode": "27513"32 }33 ],34 "schemas": [35 "urn:ietf:params:scim:schemas:core:2.0:User"36 ],37 "meta": {38 "resourceType": "User",39 "created": "2025-10-16T13:46:46.111Z",40 "lastModified": "2025-10-16T14:01:31.647Z"41 }42}
| Name | Type | Required | Description |
|---|---|---|---|
userId | string<object-id> | true | Unique identifier for the user resource (SCIM ID). |
| Name | Type | Required | Description |
|---|---|---|---|
If-Match | string | false | The entity tag (ETag) value of the resource. If provided, the request succeeds only if the current resource version matches this value. |
If-Unmodified-Since | string<date-time> | false | A date-time value. If provided, the request succeeds only if the resource has not been modified since the specified date. |
SCIM 2.0 User resource for POST and PUT requests (user creation and updates). Note that id is server-generated and should not be included in requests.
| Name | Type | Required | Description |
|---|---|---|---|
schemas | array [string] | true | SCIM schemas URN array. |
id | string | false | Unique identifier for the user resource (SCIM ID). <= 100 characters |
userName | string | true | Unique identifier for the user, typically used by the user to directly authenticate. REQUIRED. <= 100 characters Match pattern: ^(?!.*<[Ss][Cc][Rr][Ii][Pp][Tt][\s\S]*?>).*$ |
externalId | string | false | An identifier for the resource as defined by the provisioning client. |
displayName | string | false | The name of the user, suitable for display to end users. <= 100 characters Match pattern: ^(?!.*<[Ss][Cc][Rr][Ii][Pp][Tt][\s\S]*?>).*$ |
title | string | false | The User's title, such as "Vice President". <= 100 characters |
active | boolean | false | A Boolean value indicating the User's administrative status. |
emails | array [scimEmailAddress] | false | Email addresses for the user. |
phoneNumbers | array [scimPhoneNumber] | false | Phone numbers for the user. |
addresses | array [scimAddress] | false | Physical mailing addresses for the user. |
meta | object | false | Resource metadata. |
undefined | false |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 200 | OK | The user updated successfully. | Schema | |
| 400 | Bad Request | The request was invalid. | ||
| 401 | Unauthorized | Authentication is required. | ||
| 403 | Forbidden | The authenticated user does not have sufficient privileges. | Schema | |
| 404 | Not Found | The SCIM user could not be found. | Schema | |
| 412 | Precondition Failed | The If-Match or If-Unmodified-Since header condition was not met. |