Delete Ticket
DELETE /tickets/:ticket_id/
URL Example
https://system_domain/api/v2/tickets/3?delete=true
PATH Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
ticket_id | number | Yes | Technical ID of the ticket |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
delete | string | No | Move 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
}
]
}