Modify a user's group and role assignments

PUT https://{{host}}/identity-management/v3/user-admin/ui-identities/:uiIdentityId/auth-grants

This operation edits what groups a user has access to, and how the user interacts with the objects in those groups.

Request Params

KeyDatatypeRequiredDescription
accountSwitchKeystring(Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Request Body

{"0"=>{"groupId"=>12345, "roleId"=>16, "subGroups"=>[{"groupId"=>54321, "roleId"=>2222}]}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

[{"groupId":12345,"groupName":"Internet Company","isBlocked":false,"roleDescription":"Internet Company role.","roleId":16,"roleName":"Publisher","subGroups":[{"groupId":32145,"groupName":"Digital Company","isBlocked":false,"roleDescription":"","roleId":null,"roleName":"","subGroups":[]}]}]