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