---
title: "Remove all attachments from a transaction"
method: DELETE
path: "/v2/transactions/{id}/attachments"
tags: ["Attachments in Transactions"]
---

# Remove all attachments from a transaction

`DELETE /v2/transactions/{id}/attachments`

OAuth scope: `attachment.write`

---

Remove all attachments from a transaction

---

This endpoint allows you to remove all attachments from a transaction.

Inside Qonto, attachments are files uploaded onto transactions by users. Attachments typically correspond to the *invoice* or *receipt*, and are used to justify the transactions from a bookkeeping standpoint.

## Path parameters

- `id` string, required

## Headers

- `X-Qonto-Staging-Token` string

## Response `200`

returns a success status code

## Other responses

- `401` — returns an unauthorized error
- `403` — returns a forbidden error
- `404` — returns a not found error

---

[API](https://skmtc.net/hiit-consulting-fr/apis/qonto.md) · [All operations](https://skmtc.net/hiit-consulting-fr/apis/qonto/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hiit-consulting-fr/qonto/versions/25208d6f9deb/schema)
