Authorizations
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
Path Parameters
A role for which features are restricted.
curl --request GET \
--url https://{appid}.api-{region}.cometchat.io/v3/roles/{role}/restrictedfeatures \
--header 'apikey: <api-key>'{
"data": [
{
"title": "Delete Group",
"description": "Allows logged-in user to delete a group.",
"key": "u.deleteGroup",
"path": "/v3/groups/{{guid}}",
"createdAt": 1639448370
},
{
"title": "List Users",
"description": "Allows logged-in user to fetch the user list.",
"key": "u.listUsers",
"path": "/v3/users",
"createdAt": 1639448370
}
],
"meta": {
"pagination": {
"total": 2,
"count": 2,
"per_page": 100,
"current_page": 1,
"total_pages": 1
}
}
}List all restricted features for a given role.
curl --request GET \
--url https://{appid}.api-{region}.cometchat.io/v3/roles/{role}/restrictedfeatures \
--header 'apikey: <api-key>'{
"data": [
{
"title": "Delete Group",
"description": "Allows logged-in user to delete a group.",
"key": "u.deleteGroup",
"path": "/v3/groups/{{guid}}",
"createdAt": 1639448370
},
{
"title": "List Users",
"description": "Allows logged-in user to fetch the user list.",
"key": "u.listUsers",
"path": "/v3/users",
"createdAt": 1639448370
}
],
"meta": {
"pagination": {
"total": 2,
"count": 2,
"per_page": 100,
"current_page": 1,
"total_pages": 1
}
}
}API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
A role for which features are restricted.
Was this page helpful?