DELETE
/
groups
/
{guid}
/
bannedusers
/
{uid}
Unban
curl --request DELETE \
  --url https://{appid}.api-{region}.cometchat.io/v3/groups/{guid}/bannedusers/{uid} \
  --header 'apikey: <api-key>'
{
  "data": {
    "success": true,
    "message": "The user with uid superhero3 has been banned from the Group with supergroup."
  }
}

Authorizations

apikey
string
header
required

API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).

Headers

onBehalfOf
string

UID of the user on whose behalf the action is performed.

Path Parameters

guid
string
required

A GUID of a group.

uid
string
required

An UID of a user.

Response

200 - application/json

Create Group

The response is of type object.