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
nanoId
The unique identifier of the connected account
Headers
x-api-key
Request
This endpoint expects an object.
enabled
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.
success
Indicates whether the connected account status was successfully updated