Update User based on user id
/iam/governance/selfservice/api/v1/users/{uuid}
Updates the user attributes specified in the request payload for the specified user. A request is raised in Oracle Identity Manager for the modify user operation. The details of the request is captured in the response payload.
Request
- application/json
-
uuid: string
Unique User id. The unique user ID maps to the "usr_key" attribute of the user.
Response
- application/json
200 Response
-
ResponseTime: string
Captures the time in milliseconds taken for processing the request.
object
-
id(optional):
string
-
links(optional):
array links
-
status(optional):
string
object
-
href(optional):
string
-
rel(optional):
string
401 Response
404 Response
500 Response
Examples
This example demonstrates the ability to patch a single user. The information shown here is against a pseudo system and serves as a prototype.
cURL Example
curl -H "Content-Type: application/json" -X PATCH -u username:password -d @patch.json https://pseudo.com/iam/governance/selfservice/api/v1/users/18008
Example of PATCH Request Body
The following example shows the contents of the request body in JSON format.
{ "add": [ { "name": "Last Name", "value": "updateed12345" } ], "delete": [ { "name": "First Name" } ], "update": [ { "name": "Display Name", "value": "supriya12345" } ] }
Example of PATCH Response Body
The following example shows the contents of the response body in JSON format:
{ "links": [ { "rel": "self", "href": "http://pseudo.com/iam/governance/selfservice/api/v1/users/18008" } ], "id": "18008", "status": "SUCCESS", "request": { "links": [ { "rel": "self", "href": "http://pseudo.com/iam/governance/selfservice/api/v1/requests/10072" } ], "id": "10072" } }