DELETE
/
roles
/
{role}
/
restrictedfeatures
Allow Features
curl --request DELETE \
  --url https://{appid}.api-{region}.cometchat.io/v3/roles/{role}/restrictedfeatures \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "featuresToAllow": "",
  "allowAll": ""
}'
{
  "data": {
    "success": true,
    "message": "The feature has been allowed successfully."
  }
}

Authorizations

apikey
string
header
required

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

Path Parameters

role
string
required

A role to which allow features.

Body

application/json

Response

200 - application/json

Allows Restricted Features

The response is of type object.