put https://{appid}.api-{region}.cometchat.io/v3/roles/
Updates a given role.
For a detailed description of the role properties please visit here
Request sample
PUT /roles/:role HTTP/1.1
Content-type: application/json
Accept: application/json
{
"name": "string",
"description": "string",
"metadata": {
"any key": "value pair",
},
"settings":{
"listUsers": "string",
"sendMessagesTo": "string"
},
"unset": ["array of strings"]
}