---
title: "Delete a bank import and its transactions"
method: DELETE
path: "/bank-imports/{id}"
tags: ["Bank Imports"]
---

# Delete a bank import and its transactions

`DELETE /bank-imports/{id}`

## Request

- Base URL: `https://api.lumabill.ch/v1`
- URL: `https://api.lumabill.ch/v1/bank-imports/{id}`
- Auth: HTTP bearer

Removes the import and all of its transactions. Posted journal entries are soft-deleted (GeBüV-compliant audit trail) and any matched invoices, expenses, or revenues are reverted to their previous state.

## Response `200`

Deleted

- object
  - `deleted` boolean

## Other responses

- `401`: Invalid or missing API key
- `403`: Subscription required or read-only key on a write endpoint
- `404`: Resource not found
- `500`: Internal server error

---

[API](https://skmtc.dev/lumabill/apis/lumabill-api.md) · [All operations](https://skmtc.dev/lumabill/apis/lumabill-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lumabill/apis/lumabill-api/revisions/e48e7099b545?raw)
