Set team members

Replace the membership. Send every member ID to keep, or an empty array to clear the team. Requires MEMBER GROUPS WRITE.

PUT/v2/api/member_groups/{id}/members

Replace the membership. Send every member ID to keep, or an empty array to clear the team.

Use workspace member IDs such as mem-abc123 in team_member_ids.

A membership change can change who receives live calls and grant new members access to the lines that ring the team. Find them with List users, which returns team_member_id.

Authorization

Authorizationstring · headerrequired

Api-Key ak_live_…

Path parameters

idstringrequired

Body

team_member_idsstring[]required

Workspace team member IDs in membership order. Duplicate IDs are collapsed.

Responses

200Set team members
dataobjectrequired
5 fields
idstringrequired
namestringrequired

Team name. Allo trims whitespace and requires 1 to 80 characters.

emojistring | null

One emoji. An empty string clears it. On update, null leaves it unchanged.

team_member_idsstring[]required

Workspace team member IDs in membership order. Duplicate IDs are collapsed.

created_atstringrequired
400
401
403
404
429