Pular para o conteúdo principal

Excluir anexo

DELETE 

/attachments/:id

Deletes the attachment row and its stored bytes. Requires scope finance.attachments.write. Returns 409 (CONFLICT, with per-entity link counts in details) when the file is still linked to any payable / receivable / transaction — unlink it first via DELETE /attachments/{id}/links. Also 409 (details.receipts) when the file is a payment receipt's document: there is no unlink for that, delete the receipt instead and the file goes with it. Calling DELETE twice returns 200 then 404.

Requisição​

Respostas​

Attachment deleted.