Enable or disable a connected account

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

nanoIdstringRequired
The unique identifier of the connected account

Headers

x-api-keystringRequired

Request

This endpoint expects an object.
enabledbooleanRequired
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.

successboolean
Indicates whether the connected account status was successfully updated

Errors