Skip to main content
DELETE
/
v1
/
accounts
/
clientIds
curl --request DELETE \
--url https://api.vop-sandbox.finventi.com/v1/accounts/clientIds \
--header 'Content-Type: application/json' \
--data '
{
"client_ids": [
"client-12345",
"client-64789"
]
}
'
{
  "deleted_count": 2,
  "deleted_ibans": [
    "LT121000011101001000",
    "DE89370400440532013000"
  ],
  "failed_count": 1,
  "failed_entries": {
    "iban": "LT121000011101001000",
    "reason": "Account not found"
  },
  "total_count": 3
}

Body

application/json

Payload containing: ibans: list of IBANs to delete;clientIds: list of Client IDs to delete. Either ibans or clientIds must be provided.

ibans
string[]
required

List of IBANs to delete

List of IBANs to delete

Example:
[
"LT121000011101001000",
"DE89370400440532013000"
]

Response

Batch deletion result

deleted_count
integer
required

Number of IBANs successfully deleted

Example:

2

deleted_ibans
string[]
required

List of IBANs successfully deleted

List of IBANs successfully deleted

Example:
[
"LT121000011101001000",
"DE89370400440532013000"
]
failed_count
integer
required

Number of IBANs that failed to delete

Example:

1

failed_entries
object
required

Details of IBANs that failed to delete, with reasons

total_count
integer
required

Total number of IBANs submitted for deletion

Example:

3