---
title: "Delete a single attachment on a transaction"
method: DELETE
path: "/transactions/{transactionId}/files/{fileId}"
tags: ["transactions"]
---

# Delete a single attachment on a transaction

`DELETE /transactions/{transactionId}/files/{fileId}`

Requires **transactions:read:all** and either of **transactions:write** or **transactions:write:all** scopes.

## Path parameters

- `transactionId` string, uuid, required
- `fileId` string, required

## Response `204`

Successful Transaction Response

## Other responses

- `401` — Unsuccessful Response - Not authorised - Missing authorization header - Invalid access Token
- `403` — Unsuccessful Response - Forbidden - Invalid scopes
- `404` — Unsuccessful Response - Resource Not found

---

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