---
title: "Delete a bank link from a customer profile."
method: DELETE
path: "/programs/{programCode}/externalAccounts/customers/{customerToken}/banks/{linkId}"
tags: ["ExternalAccount"]
---

# Delete a bank link from a customer profile.

`DELETE /programs/{programCode}/externalAccounts/customers/{customerToken}/banks/{linkId}`

Delete a linked bank account from a customer profile. The bank link will be removed and cannot be used for future transfers.

## Path parameters

- `programCode` string, required
- `customerToken` string, required
- `linkId` string, required

## Headers

- `X-GD-RequestId` string, required
- `X-GD-CustomerType` string

## Response `200`

Bank link deleted successfully.

- ResponseDetail[]
  - `code` integer — The primary status or error code for the response (e.g., 200 for success, 400 for validation error).
  - `subCode` integer, nullable — An optional subcode providing more granular detail about the response or error.
  - `description` string, nullable — A human-readable description of the response, error, or status.
  - `url` string, nullable — A URL linking to documentation or a web page with more information about the response code.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/greendot/apis/baas-apis.md) · [All operations](https://skmtc.net/greendot/apis/baas-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/greendot/baas-apis/versions/666553766b78/schema)
