Recherches récentes


Pas de recherche récente

Deleting attachments using API



Publication le 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 commentaire

Vous devez vous connecter pour laisser un commentaire.

Vous ne trouvez pas ce que vous cherchez ?

Nouvelle publication