Skip to main content

Delete ticket

Delete a ticket. Admins can restore deleted tickets for about 30 days.

Command in the Zendesk toolkit · id ooa.zendesk/delete_ticket · 5 inputs (2 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
SiteStringYesYour Zendesk address, e.g. https://acme.zendesk.com, or just the subdomain acme.
EmailStringNoEmail of the agent the API token belongs to. Leave empty when using an OAuth token.
API tokenCredentialNoZendesk API token from the vault (used with email).
OAuth tokenCredentialNoOAuth access token from the vault, instead of email and API token. Or leave it empty and choose a connection that signs in, which gets and renews the token.
Ticket IDNumberYesTicket number, e.g. 35436.