Groups
Remove group members
Changed onThis endpoint removes members from an existing group. Corresponds to liveblocks.removeGroupMembers.
post/groups/{groupId}/remove-members
Request
- Base URL: https://api.liveblocks.io/v2
- URL: https://api.liveblocks.io/v2/groups/{groupId}/remove-members
- Auth: none declared
Path parameters
groupIdstring required
The ID of the group to remove members from.
Example:engineering
Request body
Example request
{
"memberIds": [
"charlie"
]
}Response
Success. Returns the updated group.
Example response
{
"type": "group",
"id": "engineering",
"organizationId": "org_123456789",
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z",
"scopes": {
"mention": true
},
"members": [
{
"id": "alice",
"addedAt": "2024-01-15T10:30:00.000Z"
},
{
"id": "bob",
"addedAt": "2024-01-16T09:00:00.000Z"
}
]
}Changes
- info
the
response property const valuetruewas added for the status
- info
- breaking
request body became required
- info
api operation id
post-groups-groupId-remove-membersremoved and replaced withremove-group-members - info
the
response property const valuegroupwas added for the status - info
removed the
groupenum value from theresponse property for the response status
- breaking