PUT /api/v2/tickets/{ticket_id}/comments/{comment_id}/attachments/{attachment_id}/redact
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)
Servers
- https://{subdomain}.{domain}.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
ticket_id |
Integer | Yes |
The ID of the ticket |
attachment_id |
Integer | Yes |
The ID of the attachment |
comment_id |
Integer | Yes |
The ID of the comment |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.