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
200

Group assigned successfully.

application/json
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 Permissions for a list of roles and associated privileges.

Last updated

Was this helpful?