---
title: "Delete a Bank Account"
method: DELETE
path: "/v1/users/{userId}/bankAccounts/{bankAccountId}"
tags: ["User Management"]
---

# Delete a Bank Account

`DELETE /v1/users/{userId}/bankAccounts/{bankAccountId}`

## Request

- Base URL: `https://sandbox-api.spinwheel.io`
- URL: `https://sandbox-api.spinwheel.io/v1/users/{userId}/bankAccounts/{bankAccountId}`
- Auth: API key in header `Authorization`

Delete a bank account for the user

## Path parameters

- `userId` string, required
- `bankAccountId` string, required

## Response `200`

Successful response

- DeleteBankAccountResponse
  - `status` ResponseStatus, required
    - `code` number
    - `desc` string
    - `messages` Message[]
      - `desc` string, required
      - `type` 'ERROR' | 'WARN' | 'INFO'

---

[API](https://skmtc.dev/spinwheel/apis/optimize.md) - [All operations](https://skmtc.dev/spinwheel/apis/optimize/llms.txt) - [OpenAPI document](https://skmtc.dev/spinwheel/apis/optimize/revisions/6222309663d2?raw)
