v1

latestOpenAPI 3.0.02026-07-2422987517.5 KB
Transaction

Delete a transaction file

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

delete/v1/transactions/{transaction_id}/files/{file_id}

Path parameters

transaction_idstring uuid required

The Cardda accounting-ledger transaction id (accounting_ledger_tx_id). This is the same value exposed as id in the unified transactions list.

file_idstring uuid required

The id of the attached file (ActiveStorage attachment id).

Headers

company-idstring uuid required

UUID of the company on whose behalf the request is made. Required for every Accounting endpoint. See The company-id header for details on how to obtain a value for this header and the error responses to expect when it is missing or invalid.

Response

File deleted