put https://{hostname}/identity-management/v2/user-admin/ui-identities//auth-grants
Edit what groups a user has access to, and how the use can interact with the objects in those groups.
Response
Edit what groups a user has access to, and how the use can interact with the objects in those groups.
xxxxxxxxxx
curl --request PUT \
--url https://hostname/identity-management/v2/user-admin/ui-identities/uiIdentityId/auth-grants \
--header 'accept: application/json' \
--header 'content-type: application/json'
xxxxxxxxxx
21[
{
"groupId": 12345,
"groupName": "Company",
"isBlocked": false,
"roleDescription": "This is a new role that has been created to",
"roleId": 16,
"roleName": "Publisher",
"subGroups": [
{
"groupId": 54321,
"groupName": "Sub Group",
"isBlocked": false,
"roleDescription": "",
"roleId": null,
"roleName": "",
"subGroups": []
}
]
}
]