Vor Kurzem aufgerufene Suchen


Keine vor kurzem aufgerufene Suchen

Deleting attachments using API



Gepostet 08. Sept. 2023

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 Kommentare

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Sie finden nicht, wonach Sie suchen?

Neuer Post