Sets or updates permissions for a specific role
For the complete error reference, see Error Guide.Documentation Index
Fetch the complete documentation index at: https://cometchat-22654f5b-docs-android-v6-beta2.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
The role identifier to update permissions for
"default"
Permissions object containing key-value pairs for role permissions
{
"createGroup": "allow",
"listUsers.mode": "friends",
"createGroup.allowedGroupTypes": ["public"]
}Role permissions updated successfully