6.6.Delete an attachment — DELETE /v1/ats/attachments/:id

6.6.Delete an attachment — DELETE /v1/ats/attachments/:id

Permanently deletes the attachment record and the associated file from disk. This action cannot be undone.

Example request:

DELETE /api/index.php/v1/ats/attachments/7Authorization: Bearer <token>Accept: application/vnd.api+json

HTTP codes:

204 No Content

Attachment deleted successfully.

403 Forbidden

The API user does not have attachment delete permission on the post's ticket category, or the attachment does not exist.