Update user attributes

PATCH /Users/{userId}

Modify user attributes using SCIM PATCH operations

Path parameters

  • userId string Required

    Identifier of the user to modify

application/scim+json

Body Required

  • schemas array[string] Required

    Value is urn:ietf:params:scim:api:messages:2.0:PatchOp.

  • Operations array[object] Required
    Hide Operations attributes Show Operations attributes object
    • op string Required

      Values are add, remove, or replace.

    • path string Required
    • value array[object]
      Hide value attribute Show value attribute object

Responses

  • Operation successful

  • Invalid request (malformed JSON, invalid operations, etc.)

  • User not found

PATCH /Users/{userId}
curl \
 -X PATCH https://setup.adra.com/api/organizations/{organizationSid}/scim/Users/{userId} \
 -H "Content-Type: application/scim+json"
Request example
{
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:PatchOp"
  ],
  "Operations": [
    {
      "op": "replace",
      "path": "name.familyName",
      "value": "Hernand"
    },
    {
      "op": "replace",
      "path": "timezone",
      "value": "Europe/Oslo"
    }
  ]
}