Add a role to the matching user group.

POST {{baseUrl}}/app/rest/userGroups/:groupLocator/roles

Request Body

{"roleId"=>"<string>", "scope"=>"<string>", "href"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;roleId&quot;:&quot;\u003cstring\u003e&quot;,&quot;scope&quot;:&quot;\u003cstring\u003e&quot;,&quot;href&quot;:&quot;\u003cstring\u003e&quot;}