Remove a chat room member

DELETE/chat-rooms/:id/members/:memberId

Remove a member from a chat room. Only members in the JOINED state can remove others, and you cannot remove yourself (use leave instead). Not available for event or community chats.

AuthLogin required

Path parameters

idstringrequired

Chat room ID.

memberIdstringrequired

ID of the member to remove (ChatRoomMember ID).

Request
curl https://api.4s.link/chat-rooms/ID/members/MEMBER_ID \
-X DELETE \
-H "Authorization: Bearer 4s_at_..."
Example response
{
"id": "rm1a2b3c-..."
}