---
title: "Enable or disable a connected account"
method: PATCH
path: "/api/v3/connected_accounts/{nanoId}/status"
tags: ["Connected Accounts", "Account Management"]
---

# Enable or disable a connected account

`PATCH /api/v3/connected_accounts/{nanoId}/status`

Updates the status of a connected account to either enabled (active) or disabled (inactive). Disabled accounts cannot be used for API calls but remain in the database.

## Path parameters

- `nanoId` string, connectedAccountId, required

## Request body

- object
  - `enabled` boolean, required — Set to true to enable the account or false to disable it

## Response `200`

Successfully updated the connected account status. If enabled=true, the account status is set to ACTIVE; if enabled=false, the status is set to INACTIVE.

- object — Response returned after successfully updating a connected account status
  - `success` boolean, required — Indicates whether the connected account status was successfully updated

## Other responses

- `400` — Bad request - Invalid nanoid format or invalid request body
- `401` — Unauthorized - Authentication failed
- `403` — Forbidden - Insufficient permissions to update this connected account
- `404` — Connected account not found - The specified account does not exist or has been deleted
- `409` — Conflict - the connected account is currently leased by another operation, or the status transition is invalid for its current state
- `500` — Internal server error - Failed to update the connected account status due to a server-side issue

## Changes

- **2026-08-26** `1418e4c88ab2` — 1 info
  - added the non-success response with the status `409`

[Change history](https://skmtc.dev/composiohq/apis/composio-platform-api/changes/api/v3/connected_accounts/:nanoId/status/patch.md)

---

[API](https://skmtc.dev/composiohq/apis/composio-platform-api.md) · [All operations](https://skmtc.dev/composiohq/apis/composio-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/composiohq/composio-platform-api/revisions/368fb7851f42/schema)
