Skip to main content

Remove users and groups from a role

PUT 

/api/v1/RolesRole/:roleId/ManagedAccountOrGroup

Takes a role away from the users, groups, applications or collections you send. Use it to stop members from receiving the permissions of the role.

Permission required: Administrator role.

Values for entityType: 0 = ManagedAccount, 1 = ManagedAccountGroup, 2 = Application, 3 = Collection, 4 = Local.

Request​

Responses​

Returns the number of entries removed.