provider Tickets DELETE /tickets/{ticketId}
@utdk/zendesk /tickets/{ticketId}
Delete a ticket
Permanently delete a ticket and all its associated comments. This action cannot be undone. Deleted tickets are moved to the account's deleted tickets list for 30 days before permanent deletion.
ticketId path required
The ticket ID
integer

Try it

Authentication
Configure credentials for Zendesk Support API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

deleteticket
DELETE/tickets/{ticketId}
Permanently delete a ticket and all its associated comments. This action cannot be undone. Deleted tickets are moved to the account's deleted tickets list for 30 days before permanent deletion.

Parameters

required

The ticket ID

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import zendesk from '@utdk/zendesk';

await zendesk.deleteticket()