---
title: "Delete a movement typed in or imported from a file"
method: DELETE
path: "/api/v1/banking/accounts/{accountId}/movements/{movementId}"
tags: ["Money"]
---

# Delete a movement typed in or imported from a file

`DELETE /api/v1/banking/accounts/{accountId}/movements/{movementId}`

## Request

- Base URL: `http://localhost:5180`
- URL: `http://localhost:5180/api/v1/banking/accounts/{accountId}/movements/{movementId}`
- Auth: API key in cookie `better-auth.session_token`

Removes one movement and works the balances after it out again. A movement a connected bank reported is refused, because the next read would bring it back; so is one placed against what it paid, which has to be undone first.

## Path parameters

- `accountId` string, required
- `movementId` string, required

## Response `200`

Gone.

- object
  - `ok` unknown, required
  - `data` object, required
    - `deleted` boolean, required
    - `movements` number, required: Movements removed.
  - `meta` object, required
    - `requestId` string, required: Echoed in the x-request-id header. Quote it in a bug report.

## Other responses

- `404`: No such movement on this account.
- `409`: The movement came from a connected bank, or is placed against what it paid.

---

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