{ "opencollection": "1.0.0", "info": { "name": "Egnyte Public File System Users API", "version": "1.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://{domain}.egnyte.com/puboauth/token", "accessTokenUrl": "https://{domain}.egnyte.com/puboauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Users", "type": "folder" }, "items": [ { "info": { "name": "List users", "type": "http" }, "http": { "method": "GET", "url": "https://{domain}.egnyte.com/pubapi/v2/users", "params": [ { "name": "startIndex", "value": "", "type": "query" }, { "name": "count", "value": "", "type": "query" } ] }, "docs": "List users" }, { "info": { "name": "Create user", "type": "http" }, "http": { "method": "POST", "url": "https://{domain}.egnyte.com/pubapi/v2/users", "body": { "type": "json", "data": "{}" } }, "docs": "Create user" }, { "info": { "name": "Get user", "type": "http" }, "http": { "method": "GET", "url": "https://{domain}.egnyte.com/pubapi/v2/users/:userId", "params": [ { "name": "userId", "value": "", "type": "path" } ] }, "docs": "Get user" }, { "info": { "name": "Update user", "type": "http" }, "http": { "method": "PUT", "url": "https://{domain}.egnyte.com/pubapi/v2/users/:userId", "params": [ { "name": "userId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update user" }, { "info": { "name": "Delete user", "type": "http" }, "http": { "method": "DELETE", "url": "https://{domain}.egnyte.com/pubapi/v2/users/:userId", "params": [ { "name": "userId", "value": "", "type": "path" } ] }, "docs": "Delete user" } ] } ], "bundled": true }