---
title: "Delete Customer Bank Account"
method: DELETE
path: "/v2/customers/{customerId}/bankaccounts/{customerBankAccountId}"
tags: ["customer"]
---

# Delete Customer Bank Account

`DELETE /v2/customers/{customerId}/bankaccounts/{customerBankAccountId}`

## Request

- Base URL: `https://scx-sbx.api.jtl-software.com`
- URL: `https://scx-sbx.api.jtl-software.com/v2/customers/{customerId}/bankaccounts/{customerBankAccountId}`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://auth.jtl-cloud.com/oauth2/auth`
    - Token URL: `https://auth.jtl-cloud.com/oauth2/token` scopes: `customers.write`
  - OAuth 2
    - Client credentials
    - Token URL: `https://auth.jtl-cloud.com/oauth2/token` scopes: `customers.write`
- TypeScript: <https://skmtc.dev/jtl-software/apis/scx-authentication-api/docs/v2/customers/:customerId/bankaccounts/:customerBankAccountId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete a specific bank account

## Path parameters

- `customerId` string, uuid, required: Represents a unique key for identifying a customer in the JTL system.
- `customerBankAccountId` string, uuid, required

## Headers

- `x-tenant-id` string, uuid, required
- `x-runas` string
- `x-companyid` string

## Response `204`

## Other responses

- `400`: The sent data is invalid.
- `401`
- `402`: No licence available or the app has not been authorised by JTL.
- `404`: No customer bank account with the given ID exists.

---

[API](https://skmtc.dev/jtl-software/apis/scx-authentication-api.md) - [All operations](https://skmtc.dev/jtl-software/apis/scx-authentication-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jtl-software/apis/scx-authentication-api/revisions/f979b1ea6951?raw)
