Delete a ticket category

DELETE https://api.tamio.com/v2/agency/ticket-categories/{uuid}

Permanently deletes a ticket category. All billing plan associations are removed and tickets in this category are disassociated.

Path Parameters

uuid string*

Responses

200 Ticket category deleted successfully

Ticket category deleted successfully

status integer
400 Validation or business-logic error. Possible `error_code` values:
401 Unauthorized – invalid or missing Bearer token
/agency/ticket-categories/{uuid}
1const response = await fetch("https://api.tamio.com/v2/agency/ticket-categories/{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
}