Skip to main content

Delete Ticket

DELETE /tickets/:ticket_id/


URL Example

https://system_domain/api/v2/tickets/3?delete=true


PATH Parameters

ParameterTypeRequiredDescription
ticket_idnumberYesTechnical ID of the ticket

Query Parameters

ParameterTypeRequiredDescription
deletestringNoMove to trash or permanent deletion. true - permanently delete the ticket; Any other value - move to trash

Response Examples
{
"errors": [
{
"code": "s-204",
"title": "No content",
"details": "Ticket with id {123} successfully deleted" // Ticket permanently deleted from the system
}
]
}

{
"errors": [
{
"code": "s-204",
"title": "No content",
"details": "Ticket with id {123} successfully removed" // Ticket moved to trash
}
]
}