Skip to main content
DELETE
/
api
/
partner
/
v2
/
banks
/
users
/
{userId}
/
accounts
/
{userBankInfoId}
cURL
curl --request DELETE \
  --url https://staging-api.capa.fi/api/partner/v2/banks/users/{userId}/accounts/{userBankInfoId} \
  --header 'partner-api-key: <partner-api-key>'
Deletes a bank account for a user by userId and userBankInfoId. This performs a soft delete by setting the disabled field to true.

Headers

partner-api-key
string
required

Api key for the affiliated partner that is performing the request

Path Parameters

userId
string
required

The user ID

Example:

"8374f327-38bd-4b0b-b8a7-2524599eb903"

userBankInfoId
string
required

The user bank info ID to delete

Example:

"8374f327-38bd-4b0b-b8a7-2524599eb903"

Response

200

Deletes a bank account for a user by userId and userBankInfoId. This performs a soft delete by setting the disabled field to true.