Bulk replace all members for a custom group
User Groups
Bulk replace all members for a custom group
Bulk replace the entire list of members for a custom group in your company. This endpoint is available to company-level and instance-level administrators.
Permissions:
- Sys Admin, Account Manager, Company Admin: Can replace members for custom groups
- Only custom groups can be modified
- All users must belong to the same company as the group
Behavior:
- Replaces ALL existing members with the provided list
- An empty users array removes all members from the group
- Each user must have both id and role fields
- Valid roles: ‘member’ or ‘owner’
PUT
Bulk replace all members for a custom group
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
V3 API: Bulk replace all group members
List of users with their roles. An empty array removes all members from the group.
Response
Members replaced successfully. Returns all group members with their roles.
The members of a group: {"users": [{id, email, role}, ...]}.