Update a Compliance Group

Assigns or updates the assignment of a user to a compliance group. Released in 1.55.3

Assign a group to the user

put
Path parameters
groupIdstringRequired

URL-Safe encoded Group ID

userIdinteger · int64Required

Session authentication token.

Header parameters
sessionTokenstringRequired

Session authentication token.

Body

User Group membership update object

activebooleanOptional

Group membership status

Responses
chevron-right
200

Group assigned successfully.

application/json

User Group assignment response object

idstringOptional

Assignment ID

groupIdstringOptional

Group ID

userIdinteger · int64Optional

User ID

userRolesstring[]Optional
activebooleanOptional

Group membership status

lastAddedDateinteger · int64Optional

Date of group membership last added

lastRemovedDateinteger · int64Optional

Date of group membership last removed

put
/v2/admin/usergroups/{groupId}/assignments/{userId}

🚧 Roles and Privileges

Calling this endpoint requires the Scope Management role with the MANAGE_ROLE_SCOPES entitleable action. See Bot Permissionsarrow-up-right for a list of roles and associated privileges.

Last updated

Was this helpful?