DELETE
/
groups
/
{guid}
Delete
curl --request DELETE \
  --url https://{appid}.api-{region}.cometchat.io/v3/groups/{guid} \
  --header 'apikey: <api-key>'
{
  "data": {
    "success": true,
    "message": "Group with guid project-group has been deleted successfully."
  }
}

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.

Response

200 - application/json

Deleted Group

The response is of type object.