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.
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. |