Redaction allows you to permanently remove words, strings, or attachments from a ticket comment.
In the html_body of the comment, wrap the content you want redacted in <redact> tags. Example:
{
"html_body": "<div class=\"zd-comment\" dir=\"auto\">My ID number is <redact>847564</redact>!</div>",
"ticket_id":100
}
The characters in the redact tag will be replaced by the ▇ symbol.
To redact HTML elements such inline images, anchor tags, and links, add the redact tag attribute to the element as well as the <redact> tag to inner text, if any. Example:
<a href="http://example.com" redact><redact>some link</redact></a>
The redact attribute only redacts the tag. Any inner text will be left behind if not enclosed in a <redact> tag.
Redaction is permanent and can not be undone. Data is permanently deleted from Zendesk servers with no way to recover it.
This endpoint provides all the