Rivier/ Reference/ accounting

Stop reading a bank account from the bank

post/accounting/bank/accounts/{id}/unlink

Stop reading a bank account from the bank. The account and its lines stay; statements are imported from then on.

Before you call

Credential
Authorization: Bearer $KEY
Scope
accounting:admin
Sdk
accounting.bank.unlink
Cli
accounting bank unlink

Parameters

  • idstring (uuid)required
    In the path

Request bodyapplication/json, required

  • disconnectboolean
    also remove the stored sign-in of the bank connection, when no other account uses it Default: false.

Responses

  • 200application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown