最近搜索


没有最近搜索

Delete attachments in merging tickets via API



已于 2024年2月27日 发布

With this endpoint, I can delete the attachments from closed tickets, however unable to delete attachments from specific merging comment.

It returns an error message "400 bad request" for the merging comment. Below is the API request I run but return error. 

curl --location --request PUT 'https://xxx.zendesk.com/api/v2/comment_redactions/xxx' \
--header 'Accept: application/json' \
--header 'Authorization: Basic [token]' \
--header 'Content-Type: application/json' \
--header 'Cookie: __cfruid=xxx; _zendesk_cookie=xxx \
--data '{"ticket_id":xxx,"external_attachment_urls":["https://xxx.zendesk.com/attachments/token/xxx/?name=xxx.jpg"]}'

Note:

  • Some information is redacted for privacy.
  • The redacted attachment was successfully removed from the original ticket, but not from the merged ticket.

Anyone know how to solve this and use API redact to delete attachments in merging tickets?


1

2

2 条评论

I have the same issue!

0


image avatar

Erica Girges

Zendesk Developer Advocacy

Hi Nguyen and Ed!

This is actually expected behavior for ticket redaction. Additional info regarding this can be found here.

0


请先登录再写评论。

找不到所需的内容?

新建帖子