Update user attributes Run in API Explorer
Modify user attributes using SCIM PATCH operations
PATCH
/Users/{identifier}
curl \
--request PATCH 'https://setup.adra.com/api/organizations/{organizationSid}/scim/Users/{identifier}' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"schemas":["urn:ietf:params:scim:api:messages:2.0:PatchOp"],"Operations":[{"op":"replace","path":"active","value":"false"}]}'
Request example
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:PatchOp"
],
"Operations": [
{
"op": "replace",
"path": "active",
"value": "false"
}
]
}
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"
}