Replace user attributes

PUT /Users/{userId}

Replace all user attributes with the provided values

Path parameters

  • userId string Required

    Identifier of the user to replace

application/scim+json

Body Required

Responses

  • 200 application/scim+json

    User replaced successfully

  • Invalid request (malformed JSON, missing required fields, etc.)

  • User not found

PUT /Users/{userId}
curl \
 -X PUT https://setup.adra.com/api/organizations/{organizationSid}/scim/Users/{userId} \
 -H "Content-Type: application/scim+json"
Request example
{
  "meta": {
    "resourceType": "User"
  },
  "name": {
    "givenName": "Danial",
    "familyName": "Thompson"
  },
  "active": true,
  "emails": [
    {
      "type": "work",
      "value": "Test_User_today@testuser.com",
      "primary": true
    }
  ],
  "locale": "en-GB",
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User"
  ],
  "timezone": "Europe/London",
  "userName": "Athena_Rau@yahoo.com",
  "externalId": "1b252114-6161-4597-8595-583537951881",
  "preferredLanguage": "en-GB"
}
Response examples (200)
{
  "id": "beb76ae3-0909-47eb-b77d-3b944e7b1358",
  "meta": {
    "resourceType": "User"
  },
  "name": {
    "givenName": "Danial",
    "familyName": "Thompson"
  },
  "active": true,
  "emails": [
    {
      "type": "work",
      "value": "Test_User_today@testuser.com",
      "primary": true
    }
  ],
  "locale": "en-GB",
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User"
  ],
  "timezone": "Europe/London",
  "userName": "Athena_Rau@yahoo.com",
  "externalId": "1b252114-6161-4597-8595-583537951881",
  "preferredLanguage": "en-GB"
}