Delete a ticket

DELETE https://api.tamio.com/v2/tickets/{uuid}

Soft-deletes a ticket by marking it as deleted and closed. The ticket and its conversation history are preserved in the database but excluded from list results.

Path Parameters

uuid string*

UUID of the ticket to delete

Responses

200 Ticket deleted successfully

Ticket deleted successfully

status integer
400 Bad request. Possible `error_code` values:
401 Missing or invalid API key
/tickets/{uuid}
1const response = await fetch("https://api.tamio.com/v2/tickets/{uuid}", {
2 method: "DELETE",
3 headers: {
4 "Authorization": "Bearer YOUR_API_KEY",
5 "Content-Type": "application/json"
6 },
7 body: JSON.stringify({
8 // ... request body
9 })
10});
11const data = await response.json();
Responses
{
  "status": 200
}