1. Home
  2. Docs
  3. Data Subscriber API Documentation
  4. Endpoints Reference
  5. DELETE /accounts/:id/bank

DELETE /accounts/:id/bank

Removes all accounts that were added in the same bank-login as the one in input (the URL parameter :id).

When you call this endpoint, several bank accounts will be removed, that is, all those which were added by the same Person in the same bank-login. This will also removed one “bank-login” entry from your billable operations.

To facilitate things on your end, the endpoint returns the list of Account IDs that are removed (integer IDs).

Headers

Name Value
Content-Type application/json
Authorization Bearer {token}

URL parameter

Name Value
id The ID of any of the Accounts added in the same bank-login.

Request

Empty body

Response

Name Value
None Array of integers. The IDs of the accounts that were deleted.

Status Code

Code Comment
202 Request OK.
401 User not authorized.

How can we help?