Related guides
Endpoints
Next steps
- API overview: base URLs, authentication, and pagination
- Errors: status codes and the error format
- Editions: which endpoints each edition serves
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
List, rename, and disconnect connected app accounts with the OneCLI API. See workspace and organization connections side by side in one response.
| Endpoint | Method and path | What it does |
|---|---|---|
| List connections | GET /connections | List every connected account your workspace can use, newest first, including organization connections. |
| Rename a connection | PATCH /connections/{connectionId} | Rename a connection to tell apart multiple accounts of the same app. |
| Disconnect | DELETE /connections/{connectionId} | Disconnect an app account and remove every grant that referenced it. |