---
title: "Delete a transaction file"
method: DELETE
path: "/v1/transactions/{transaction_id}/files/{file_id}"
tags: ["Transaction"]
---

# Delete a transaction file

`DELETE /v1/transactions/{transaction_id}/files/{file_id}`

Purges an attached file from the transaction's documentation. Responds `404` when the file
does not belong to the documentation, otherwise `204 No Content`.

## Path parameters

- `transaction_id` string, uuid, required
- `file_id` string, uuid, required

## Headers

- `company-id` string, uuid, required

## Response `204`

File deleted

## Other responses

- `401` — Unauthorized
- `404` — File not found

---

[API](https://skmtc.net/cardda/apis/banking-api.md) · [All operations](https://skmtc.net/cardda/apis/banking-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cardda/banking-api/versions/ff1aeb3fda8b/schema)
