cURL
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." } }
Allow features access for a given role.
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
A role to which allow features.
Allows Restricted Features
The response is of type object.
object
Was this page helpful?