Skip to main content
Connections

Choose the accounts to keep

Keeps the given accounts enabled and disables every other account the provider found. Only possible once account discovery has finished (accounts_last_synced_at is set). While setup is pending, the first sync waits for POST /setup/complete. After setup is complete, the selection can be revisited and newly enabled accounts start syncing immediately if their settings allow automatic sync.

PUT
/finance/connections/{connectionId}/setup/accounts
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

connectionIdintegerrequired

The financial connection ID

Body

application/json
account_idsinteger[]required

The accounts to keep enabled on the connection. Every other account the provider found is disabled and nothing is fetched for it. At least one account must be kept.

Response

application/json
dataobjectrequired
messagestringrequired