Delete a ticket

Required scope: command_tickets:delete

Moves the ticket to the trash, where it can be restored, as deleting a task does. The gid of a task that isn't a ticket returns 404. Returns an empty data record.

🚧

Early Access

Command endpoints are in early access and the interface is subject to change. For updates, please refer to our API Changelog.

📘

Command license required

To use these endpoints, you need a Command license. Learn what Command includes

Path Params
string
required

Globally unique identifier for the Command ticket.

Query Params
boolean

Provides “pretty” output.
Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json