Update user
PUT {{baseUrl}}/Users/:id
Update details of user.
Note: Username must not be changed. Email address is required and must be equal to the username.
The ‘subtenants’ field is optional. If it is present, the user is considered to be a subtenant user. Upgrading a subtenant user to a tenant user and vice versa is not allowed.
Example path /api/identitymanagement/v3/Users/2f95913-d3d9-4a4a-951a-c21184080cf3
Request Body
{"userName"=>"<email>", "name"=>{"familyName"=>"<string>", "givenName"=>"<string>"}, "emails"=>[{"value"=>"<string>"}, {"value"=>"<string>"}], "active"=>"<boolean>", "subtenants"=>[{"id"=>"<string>"}, {"id"=>"<string>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"schemas":["urn:scim:schemas:core:1.0","urn:scim:schemas:core:1.0"],"id":"2f95913-d3d9-4a4a-951a-c21184080cf3","userName":"johndoe@example.com","name":{"familyName":"Doe","givenName":"John"},"groups":[{"display":"mdsp:core:StandardUser","type":"DIRECT","value":"85300c9f-9616-4596-ac1c-1ca837426d7e"},{"display":"mdsp:core:StandardUser","type":"DIRECT","value":"85300c9f-9616-4596-ac1c-1ca837426d7e"}],"emails":[{"value":"johndoe@example.com"},{"value":"johndoe@example.com"}],"active":true,"meta":{"created":"2018-02-08T15:20:43.000Z","lastModified":"2018-02-08T15:20:43.000Z","version":0},"subtenants":[{"id":"octopus"},{"id":"octopus"}]}