Hello,
According with this article in Zendesk support:
https://support.zendesk.com/hc/en-us/articles/4408835158682-Ticket-Comments-API-Announcing-new-Ticket-Redaction-endpoints
Now that Zendesk has enabled storage quota in all instances, we are trying to delete attachments in closed tickets with new endpoints.
We are using the endpoint:
PUT /api/v2/comment_redactions/{ticket_comment_id}
Sending this body json:
{
"ticket_id":1146
}
We are getting always record not found in all our requests.
Also, we are trying making the PUT request with the same payload made by Zendesk when we redact a comment in Zendesk website via Chrome:
Anyone know how to solve this and use API redact to delete attachments in closed tickets?
Thanks in advanced
Regards
It's looks like you might be missing the
external_attachment_urlsarray in your request body. You'll want to add these values to ensure that our system can identify the attachments to be redacted. You can read more about the values here.If you continue to run in to issues, let me know and we can look in to it in more detail.
Thanks!
Tipene