{ "opencollection": "1.0.0", "info": { "name": "CometChat REST Management Auth Tokens Roles API", "version": "3.0" }, "request": { "auth": { "type": "apikey", "key": "apikey", "value": "{{apikey}}", "placement": "header" } }, "items": [ { "info": { "name": "Roles", "type": "folder" }, "items": [ { "info": { "name": "List roles", "type": "http" }, "http": { "method": "GET", "url": "https://{appId}.api-{region}.cometchat.io/v3/roles" }, "docs": "List roles" }, { "info": { "name": "Create a role", "type": "http" }, "http": { "method": "POST", "url": "https://{appId}.api-{region}.cometchat.io/v3/roles", "body": { "type": "json", "data": "{}" } }, "docs": "Create a role" }, { "info": { "name": "Get a role", "type": "http" }, "http": { "method": "GET", "url": "https://{appId}.api-{region}.cometchat.io/v3/roles/:role", "params": [ { "name": "role", "value": "", "type": "path" } ] }, "docs": "Get a role" }, { "info": { "name": "Update a role", "type": "http" }, "http": { "method": "PUT", "url": "https://{appId}.api-{region}.cometchat.io/v3/roles/:role", "params": [ { "name": "role", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a role" }, { "info": { "name": "Delete a role", "type": "http" }, "http": { "method": "DELETE", "url": "https://{appId}.api-{region}.cometchat.io/v3/roles/:role", "params": [ { "name": "role", "value": "", "type": "path" } ] }, "docs": "Delete a role" } ] } ], "bundled": true }