DELETE
/api/public/v1/tickets/{ticketId}Delete a ticket
Delete a ticket and its comments / attachments / labels.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ticketId | string | Required | Ticket ID. |
DELETEExample request
curl
curl -X DELETE "https://www.pxb.app/api/public/v1/tickets/{ticketId}" \
-H "X-Organization-Id: your_org_id" \
-H "X-API-Key: your_api_key"200Example response
json
{
"message": "Ticket deleted successfully.",
"content": {}
}