---
title: "Remove transactions"
method: DELETE
path: "/transactions"
tags: ["Transactions"]
---

# Remove transactions

`DELETE /transactions`

Remove transactions older than a specified period.

## Query parameters

- `account_id` string, required — the `id` of the account
- `customer_id` string, required — the `id` of the customer
- `keep_days` integer, required — the amount of days for which the transactions will be kept. Transactions older than that will be irreversibly removed. If value is `0`, then all transactions will be removed."

## Response `200`

OK

- RemovedTransactionsResponse
  - `data` object
    - `cleanup_started` boolean

## Other responses

- `404` — An account with the sent `account_id` could not be found
- `406` — The client is in `restricted` status. You can find out more about `restricted` status on [Restricted](<%= general_link('restricted') %>) guides page

---

[API](https://skmtc.net/saltedge/apis/salt-edge-account-information-api.md) · [All operations](https://skmtc.net/saltedge/apis/salt-edge-account-information-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/saltedge/salt-edge-account-information-api/versions/f18f4f36d0b3/schema)
