"Failed to update function
Variable 'ticketID' is not defined Line Number : 3"
Above shows when I enter below. Can you help me with this?
- deskDomain = "https://desk.zoho.com";
- //Replace your zoho desk URL accordingly
- jsonString = {"ticketIds":{ticketID}};
- deleteTicket = invokeurl
- [
- url :deskDomain + "/api/v1/tickets/moveToTrash"
- type :POST
- parameters:jsonString.toString()
- connection: "autodeletetickets"
- ];