최근 검색


최근 검색 없음

Deleting attachments using API



2023년 9월 08일에 게시됨

We have a customer who is requesting we remove/redact all attachments on over 100 tickets. I found that with the API I cannot redact attachments to comments on Closed or Archived tickets, so I have moved onto the deleting them.

I have extracted the necessary token for the attachment and built the URL. When I call the API DELETE /api/v2/uploads/{token} the response is:

{"error":"RecordNotFound","description":"Not found"}

The URL I used is (subdomain redacted):

https://redacted.zendesk.com/api/v2/uploads/hOSqeGpunY1gA6QZ1CPPmmlU4

The URL of the attachment is:

https://support.redacted.com/attachments/token/hOSqeGpunY1gA6QZ1CPPmmlU4/?name=monitoring_20220428_staging.zip

Anything obviously wrong?

 


0

0

댓글 0개

댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물