Patch a SCIM user
patch/scim/v2/Users/{userId}
Updates one or more attributes of a SCIM user using SCIM PATCH operations.
1{2 "id": "2bca4a63-0892-484a-a9ef-aff7b7f0c795",3 "userName": "scim-example3@sas.com",4 "title": "Vice President",5 "active": false,6 "externalId": "scim-example3@sas.com",7 "displayName": "scim example 3",8 "emails": [9 {10 "value": "testuser3@sas.com",11 "type": "work"12 }13 ],14 "schemas": [15 "urn:ietf:params:scim:schemas:core:2.0:User"16 ],17 "meta": {18 "resourceType": "User",19 "created": "2025-10-16T13:46:46.111Z",20 "lastModified": "2025-10-16T13:56:39.273Z"21 }22}
| 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. |
| 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. | ||
| 412 | Precondition Failed | The If-Match or If-Unmodified-Since header condition was not met. |