Path parameters
-
Identifier of the user to replace
Body Required
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"
}