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

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;schemas&quot;:[&quot;urn:scim:schemas:core:1.0&quot;,&quot;urn:scim:schemas:core:1.0&quot;],&quot;id&quot;:&quot;2f95913-d3d9-4a4a-951a-c21184080cf3&quot;,&quot;userName&quot;:&quot;johndoe@example.com&quot;,&quot;name&quot;:{&quot;familyName&quot;:&quot;Doe&quot;,&quot;givenName&quot;:&quot;John&quot;},&quot;groups&quot;:[{&quot;display&quot;:&quot;mdsp:core:StandardUser&quot;,&quot;type&quot;:&quot;DIRECT&quot;,&quot;value&quot;:&quot;85300c9f-9616-4596-ac1c-1ca837426d7e&quot;},{&quot;display&quot;:&quot;mdsp:core:StandardUser&quot;,&quot;type&quot;:&quot;DIRECT&quot;,&quot;value&quot;:&quot;85300c9f-9616-4596-ac1c-1ca837426d7e&quot;}],&quot;emails&quot;:[{&quot;value&quot;:&quot;johndoe@example.com&quot;},{&quot;value&quot;:&quot;johndoe@example.com&quot;}],&quot;active&quot;:true,&quot;meta&quot;:{&quot;created&quot;:&quot;2018-02-08T15:20:43.000Z&quot;,&quot;lastModified&quot;:&quot;2018-02-08T15:20:43.000Z&quot;,&quot;version&quot;:0},&quot;subtenants&quot;:[{&quot;id&quot;:&quot;octopus&quot;},{&quot;id&quot;:&quot;octopus&quot;}]}