PATCH
/scim/v2/Users/{userId}

Patch SCIM User, using a valid access key.

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:AccessKey\>

Try it

/scim/v2/Users/{userId}

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Access Key > as bearer

In: header

Request Body

userIdstring

groupIdstring

operationsarray<object>

Path Parameters

userId
Required
string

Status codeDescription
200OK
curl -X PATCH "https://api.descope.com/scim/v2/Users/string" \
  -d '{
  "userId": "string",
  "groupId": "string",
  "operations": [
    {
      "op": "string",
      "path": "string",
      "valueString": "string",
      "valueBoolean": true,
      "valueArray": [
        {
          "value": "string",
          "display": "string"
        }
      ],
      "valueID": "string",
      "valueDisplayName": "string"
    }
  ]
}'

{
  "user": {
    "schemas": [
      "string"
    ],
    "id": "string",
    "userName": "string",
    "meta": {
      "created": {},
      "location": "string",
      "lastModified": {},
      "resourceType": "string"
    },
    "emails": [
      {
        "value": "string",
        "primary": true,
        "type": "string"
      }
    ],
    "name": {
      "givenName": "string",
      "familyName": "string",
      "middleName": "string"
    },
    "active": true,
    "displayName": "string",
    "detail": "string",
    "title": "string"
  }
}

Was this helpful?