Authorizations
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
Headers
UID of the user on whose behalf the action is performed.
Response
200 - application/json
Kicked Group Members
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.
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."
}
}API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
UID of the user on whose behalf the action is performed.
Kicked Group Members
Was this page helpful?