cURL
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.
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
A role for which features are restricted.
Lists Restricted Features
The response is of type object.
object
Was this page helpful?