Update a User Membership

Add or update a user's membership within a compliance group. Released in 1.55.3

Add member to a Group if it does not exist, otherwise update it.

put
Path parameters
groupIdstringRequired

URL-Safe encoded Group ID

userIdinteger · int64Required
Header parameters
sessionTokenstringRequired

Session authentication token.

Body

Body for user group membership creation

activebooleanOptional
Responses
200

Success

application/json
put
/v2/admin/usergroups/{groupId}/memberships/{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?