Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
docs: auto-generate TypeScript SDK reference
CryogenicPlanet committed
Apr 14, 2026 at 02:13 UTC
93abf82c94efd2c37493cff74ad06ac318daecea
2 files changed
+30
-2
docs/content/reference/sdk-reference/typescript/connected-accounts.mdx
+29
-1
@@ -205,7 +205,7 @@ const connectionRequest = await composio.connectedAccounts.initiate(
205
### link()
206
207
```typescript
208
-async link(userId: string, authConfigId: string, options?: { callbackUrl?: string }): Promise<ConnectionRequest>
208
+async link(userId: string, authConfigId: string, options?: { alias?: string; callbackUrl?: string }): Promise<ConnectionRequest>
209
```
210
211
**Parameters**
@@ -316,6 +316,34 @@ const refreshedAccount = await composio.connectedAccounts.refresh('conn_abc123')
316
317
---
318
319
+### update()
320
+
321
+Update a connected account's alias and/or credentials.
322
+
323
+```typescript
324
+async update(nanoid: string, params: ConnectedAccountUpdateStatusParams): Promise<ConnectedAccountUpdateStatusResponse>
325
+```
326
+
327
+**Parameters**
328
+
329
+| Name | Type | Description |
330
+|------|------|-------------|
331
+| `nanoid` | `string` | The unique identifier of the connected account |
332
+| `params` | `ConnectedAccountUpdateStatusParams` | The update parameters |
333
+
334
+**Returns**
335
+
336
+`Promise<ConnectedAccountUpdateStatusResponse>` — The update response
337
+
338
+**Example**
339
+
340
+```typescript
341
+// Disable an account
342
+await composio.connectedAccounts.update('ca_abc123', { enabled: false });
343
+```
344
+
345
+---
346
+
347
### updateStatus()
348
349
Update the status of a connected account
docs/content/reference/sdk-reference/typescript/tool-router-session.mdx
+1
-1
@@ -28,7 +28,7 @@ Initiate an authorization flow for a toolkit.
28
Returns a ConnectionRequest with a redirect URL for the user.
29
30
```typescript
31
-async authorize(toolkit: string, options?: { callbackUrl?: string }): Promise<ConnectionRequest>
31
+async authorize(toolkit: string, options?: { alias?: string; callbackUrl?: string }): Promise<ConnectionRequest>
32
```
33
34
**Parameters**