Update user roles of the matching user.
PUT {{baseUrl}}/app/rest/users/:userLocator/roles
Request Body
{"role"=>[{"roleId"=>"<string>", "scope"=>"<string>", "href"=>"<string>"}, {"roleId"=>"<string>", "scope"=>"<string>", "href"=>"<string>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"role":[{"roleId":"\u003cstring\u003e","scope":"\u003cstring\u003e","href":"\u003cstring\u003e"},{"roleId":"\u003cstring\u003e","scope":"\u003cstring\u003e","href":"\u003cstring\u003e"}]}