Eliminar adjunto
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. Calling DELETE twice returns 204 then 404.
Solicitud
Respuestas
- 204
- 401
- 403
- 404
- 409
- 500
Attachment deleted. No response body.
Missing / invalid / expired / revoked token.
Token lacks the finance.attachments.write scope.
Attachment not found within the tenant.
The attachment is still linked to one or more records (details carries the counts).
Unhandled server error.