Attachments
Redact Comment Attachment
Redaction allows you to permanently remove attachments from an existing comment on a ticket. Once removed from a comment, the attachment is replaced with an empty "redacted.txt" file.
The redaction is permanent. It is not possible to undo redaction or see what was removed. Once a ticket is closed, redacting its attachments is no longer possible.
Also, if you want to redact an inline attachment, you can use the include_inline_images parameter in the List Comments operation to obtain the inline attachment ID, and use it in the request URL.
Allowed For
- Admins
- Agents when deleting tickets is enabled for agents on professional accounts
- Agents assigned to a custom role with permissions to redact ticket content (Enterprise only)
put/api/v2/tickets/{ticket_id}/comments/{comment_id}/attachments/{attachment_id}/redact
Response
OK response