---
title: "Remove a Bank Feeds upload"
method: POST
path: "/bank-feed-uploads/{importId}/remove"
tags: ["Bank Feeds"]
---

# Remove a Bank Feeds upload

`POST /bank-feed-uploads/{importId}/remove`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/bank-feed-uploads/{importId}/remove`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

Partial undo of one upload. confirmed=false previews. confirmed=true deletes the upload's rows that are not posted and not reconciled, clears possible-duplicate links to them, keeps posted and reconciled rows and lists them, and writes an audit entry. Posted entries are never touched.

## Path parameters

- `importId` string, uuid, required

## Request body

- object
  - `confirmed` boolean: false previews; true removes the waiting rows

## Response `200`

{ importId, fileName, removeCount, keptCount, kept[], confirmed, removed }

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
