---
title: "Delete Failed Bank Statement Import"
method: DELETE
path: "/bank-statement-imports/{import_id}"
tags: ["reconciliation"]
---

# Delete Failed Bank Statement Import

`DELETE /bank-statement-imports/{import_id}`

## Request

- Base URL: `https://app.zeno-works.ch` (the document declares no server; this is the origin it was published from)
- URL: `https://app.zeno-works.ch/bank-statement-imports/{import_id}`
- Auth: none declared

Remove a ``failed`` bank-statement import row (Lane N-ingest, F2845).

For a failure Retry cannot change (no account number on the statement, an unrecognised
format, expired bytes): the person uploads a different file, and this takes the dead
row off the panel and out of the work list. **Only the failed row goes** - a failed
import wrote no statement or entry (one transaction with the ``done`` flip), and nothing
references it. 409 unless the import is ``failed``; 404 missing / 403 out of scope.

Accountant/owner (ZCT-257), like the retry beside it: the row is resolved here first so
the gate has its ``company_id``.

## Path parameters

- `import_id` string, required

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Response `200`

Successful Response

- MsgResponse: The ``{"msg": "..."}`` envelope — the error contract and many successes.
  - `msg` string, required

## Other responses

- `422`: Validation Error

---

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