Skip to main content
PATCH
Enable or disable a connected account (DEPRECATED)

Authorizations

x-api-key
string
header
default:your-project-api-key
required

Your Composio project API key. Create or copy it from the Composio dashboard.

Path Parameters

nanoId
string<connectedAccountId>
required

The unique identifier of the connected account

Body

application/json
enabled
boolean
required

Set to true to enable the account or false to disable it

Response

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.

Response returned after successfully updating a connected account status

success
boolean
required

Indicates whether the connected account status was successfully updated