post https://{appid}.api-{region}.cometchat.io/v3/roles
Creates a new user role
For a detailed description of the role properties please visit here
Request sample:
POST /roles HTTP/1.1
Content-type: application/json
Accept: application/json
{
"role": "string",
"name": "string",
"description": "string",
"metadata": {
"any key": "value pair",
},
"settings":{
"listUsers": "string",
"sendMessagesTo": "string"
}
}