cURL
curl --request DELETE \ --url https://{appid}.api-{region}.cometchat.io/v3/groups/{guid}/members/{uid} \ --header 'apikey: <api-key>'
{ "data": { "success": true, "message": "The member with superhero3 has been kicked from the Group with supergroup." } }
Removes a member with given UID from a group for a given GUID.
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
UID of the user on whose behalf the action is performed.
A GUID of a group.
An UID of a user.
Kicked Group Members
The response is of type object.
object
Was this page helpful?