Remove users from a group chat
You can remove users from a group chat. You can remove participants directly, either from your frontend or from your backend using the REST API. You can't directly remove guests from a group chat, as guests aren't members of a conversation, but you can enable and turn off guest access. Check out Participant access and guest access for a complete overview of the differences between participants and guests.
To remove a participant from a conversation from your backend, use a DELETE operation on the participant using the REST API.
You can't remove guests from a conversation in the same way as you can remove participants. Instead, you can turn off guest access to a conversation. When you turn off guest access to a conversation, users won't be able to access that conversation as a guest.