Authorizations
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
Path Parameters
A role to which allow features.
Body
application/json
Response
200 - application/json
Allows Restricted 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."
}
}Allow features access for a given role.
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."
}
}API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
A role to which allow features.
Allows Restricted Features
Was this page helpful?