Unlink an attachment from a record
DELETE/attachments/:id/links
Removes a single association between the attachment ({id}) and the parent identified in the body. Requires scope finance.attachments.write. Returns 404 when no such association exists. The attachment row itself is left intact — delete it with DELETE /attachments/{id}.
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 422
- 500
Association removed. No response body.
Malformed JSON body.
Missing / invalid / expired / revoked token.
Token lacks the finance.attachments.write scope.
No association between this attachment and the given record.
Schema validation failure (unknown type, non-uuid id).
Unhandled server error.