...
Code Block |
---|
curl --location --request PATCH '[API-URL]/scim/Users/a3792aca-8f99-4d4b-a1f2-2b31e871b634' \ --header 'Authorization: Bearer [API-TOKEN]' \ --header 'Content-Type: application/json' \ --data-raw '{ "Operations": [ { "op": "Replace", "path": "externalId", "value": "externalId-changed" }, { "op": "Replace", "path": "userName", "value": "newUsername@domain.com" }, { "op": "Replace", "path": "active", "value": true }, { "op": "Replace", "path": "name.givenName", "value": "NewFirstname" }, { "op": "Replace", "path": "name.familyName", "value": "NewLastname" }, { "op": "Add", "path": "roles", "value": [ { "value": "{\"value\":\"TalentechGroupTest1\"}" }, { "value": "{\"value\":\"TalentechGroupTest2\"}" } ] } ] }' |
Special Notes:
Note |
---|
|
Responses:
200 OK | |||
---|---|---|---|
Statuscode | 200 | ||
Response-body: The User after the change Sample-response:
|
...