Delete ticket via Webhook and trigger | Community
Skip to main content

Delete ticket via Webhook and trigger

  • July 4, 2022
  • 2 replies
  • 0 views

raphael12

Hi Zendesk community,

I tried to delete ticket via a trigger and a URL but I cannot find a way, I know the issue is on the URL parameters but I cannot find the right syntax and there is not documentation at all about how to do it.

 

 

If I try like this it works:

but in triggers and automations it's mandatory to fill the key (the left text box)  and the value (the right text box)

2 replies

Jack23
  • July 5, 2022

You don’t need the URL parameter, you can just have {{ticket.id}} instead of ticket_id at the end of the URL and it should work. Update the URL to do that and remove the parameter from the trigger and try it out


raphael12
  • Author
  • July 5, 2022

Hi Jack!

You're right I tried and it works this way,

 

Thank you very much

Best regards,

Raphaël