Update a role's user and group assignments

Adds and/or removes users and directory groups for the given role in a single request. Access for members of newly added groups is granted asynchronously. Removing users and groups that no longer exist is silently ignored.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
role
object
required

The role whose assignments are updated.

addUserIds
array of uuids
Defaults to []

User IDs to add to the role.

addUserIds
removeUserIds
array of uuids
Defaults to []

User IDs to remove from the role.

removeUserIds
addGroupIds
array of uuids
Defaults to []

Directory group IDs to add to the role.

addGroupIds
removeGroupIds
array of uuids
Defaults to []

Directory group IDs to remove from the role.

removeGroupIds
Response
200
Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!

©2003-2026 BeyondTrust Corporation. All Rights Reserved. Other trademarks identified on this page are owned by their respective owners. BeyondTrust is not a chartered bank or trust company, or depository institution. It is not authorized to accept deposits or trust accounts and is not licensed or regulated by any state or federal banking authority.