Replace user attributes
Replace all user attributes with the provided values
PUT
/Users/{identifier}
curl \
--request PUT 'https://setup.adra.com/api/organizations/{organizationSid}/scim/Users/{identifier}' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"name":{"givenName":"John","familyName":"Smith"},"title":"Senior Software Engineer","active":true,"emails":[{"type":"work","value":"jsmith@example.com","primary":true}],"schemas":["urn:ietf:params:scim:schemas:core:2.0:User","urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"],"timezone":"America/Denver","userName":"jsmith@example.com","urn:ietf:params:scim:schemas:extension:enterprise:2.0:User":{"employeeNumber":"0603"}}'
Request example
{
"name": {
"givenName": "John",
"familyName": "Smith"
},
"title": "Senior Software Engineer",
"active": true,
"emails": [
{
"type": "work",
"value": "jsmith@example.com",
"primary": true
}
],
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User",
"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"
],
"timezone": "America/Denver",
"userName": "jsmith@example.com",
"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {
"employeeNumber": "0603"
}
}
Response examples (200)
{
"enterpriseExtension": {
"employeeNumber": "string"
},
"active": true,
"electronicMailAddresses": [
{
"value": "string",
"itemType": "string",
"primary": true
}
],
"locale": "string",
"meta": {
"resourceType": "string"
},
"name": {
"familyName": "string",
"givenName": "string"
},
"preferredLanguage": "string",
"timeZone": "string",
"title": "string",
"userName": "string",
"externalId": "string",
"schemas": [
"string"
]
}
Response examples (400)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}
Response examples (401)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}
Response examples (403)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}
Response examples (500)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}
Response examples (501)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}