Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 21, 22:15 UTC
docs: simplify connectedAccounts.delete() description
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Uday Sidagana committed
Apr 30, 2026 at 16:05 UTC
10815de37f820a88ac0b10a6f1ffa9ca246ba803
2 files changed
+4
-8
docs/content/docs/auth-configuration/connected-accounts.mdx
+2
-2
@@ -192,7 +192,7 @@ INACTIVE accounts cannot execute tools. Tool execution will fail until the statu
192
193
## Delete accounts
194
195
-Soft-delete a connected account so it can no longer be used for API calls. This does **not** revoke the upstream OAuth grant — any access or refresh tokens previously issued remain valid with the third-party provider until they expire or the user revokes them. To revoke upstream access, the end user must do so through the provider's account settings (for example, [Google Account Permissions](https://myaccount.google.com/permissions) for Google).
195
+Permanently remove a connected account:
196
197
<Tabs groupId="language" items={['Python', 'TypeScript']} persist>
198
<Tab value="Python">
@@ -216,7 +216,7 @@ console.log('Account deleted successfully');
216
</Tabs>
217
218
<Callout type="warn">
219
-The Composio record is soft-deleted, but the upstream OAuth grant is unaffected — it remains valid with the provider until the user revokes it from their account settings or the refresh token expires. If the user later reconnects from scratch, the provider will prompt them to re-authorize.
219
+Deletion is permanent and cannot be undone.
220
</Callout>
221
222
## Credential masking
docs/content/reference/sdk-reference/typescript/connected-accounts.mdx
+2
-6
@@ -18,12 +18,8 @@ const result = await composio.connectedAccounts.list();
18
19
Deletes a connected account.
20
21
-This method soft-deletes the connected account record on the Composio platform so it can
22
-no longer be used for API calls. It does **not** revoke OAuth tokens upstream with the
23
-third-party provider — any access or refresh tokens previously issued remain valid until
24
-they expire or are revoked by the user. To revoke upstream access, the end user must do
25
-so through the provider's account settings (for example,
26
-[Google Account Permissions](https://myaccount.google.com/permissions) for Google).
21
+This method permanently removes a connected account from the Composio platform.
22
+This action cannot be undone.
23
24
```typescript
25
async delete(nanoid: string): Promise<ConnectedAccountDeleteResponse>