Sentra
Bank Accounts

Delete bank account

Deletes a bank account (soft delete)

DELETE
/accounts/{id}
X-API-KEY<token>

API key for authentication (prefix: sk_dev_ for development, sk_live_ for production)

In: header

Path Parameters

idstring

Bank Account ID

Formatuuid

Response Body

application/json

application/json

application/json

curl -X DELETE "https://api.sentra.xyz/api/v1/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
{
  "message": "Unauthorized",
  "statusCode": 401
}
{
  "message": "Resource not found",
  "statusCode": 404
}
{
  "message": "Internal server error",
  "statusCode": 500
}