{ "opencollection": "1.0.0", "info": { "name": "CometChat REST Management Auth Tokens Blocked Users API", "version": "3.0" }, "request": { "auth": { "type": "apikey", "key": "apikey", "value": "{{apikey}}", "placement": "header" } }, "items": [ { "info": { "name": "Blocked Users", "type": "folder" }, "items": [ { "info": { "name": "List a user's blocked users", "type": "http" }, "http": { "method": "GET", "url": "https://{appId}.api-{region}.cometchat.io/v3/users/:uid/blockedusers", "params": [ { "name": "uid", "value": "", "type": "path", "description": "Unique user identifier." } ] }, "docs": "List a user's blocked users" }, { "info": { "name": "Block users", "type": "http" }, "http": { "method": "POST", "url": "https://{appId}.api-{region}.cometchat.io/v3/users/:uid/blockedusers", "params": [ { "name": "uid", "value": "", "type": "path", "description": "Unique user identifier." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Block users" }, { "info": { "name": "Unblock users", "type": "http" }, "http": { "method": "DELETE", "url": "https://{appId}.api-{region}.cometchat.io/v3/users/:uid/blockedusers", "params": [ { "name": "uid", "value": "", "type": "path", "description": "Unique user identifier." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Unblock users" } ] } ], "bundled": true }