{ "opencollection": "1.0.0", "info": { "name": "OneCLI Agent Setup Connections API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Connections", "type": "folder" }, "items": [ { "info": { "name": "List connections", "type": "http" }, "http": { "method": "GET", "url": "https://api.onecli.sh/v1/connections", "params": [ { "name": "provider", "value": "", "type": "query", "description": "Filter results to a single provider (e.g. `gmail`, `github`)" } ] }, "docs": "Returns the project's app connections (including inherited organization connections) as a bare array. Filter with the `provider` query parameter." }, { "info": { "name": "Rename a connection", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.onecli.sh/v1/connections/:connectionId", "params": [ { "name": "connectionId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Sets the display label of an app connection." }, { "info": { "name": "Disconnect a connection", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.onecli.sh/v1/connections/:connectionId", "params": [ { "name": "connectionId", "value": "", "type": "path" } ] }, "docs": "Permanently removes an app connection by ID." } ] } ], "bundled": true }