انتقل إلى المحتوى الرئيسي

Delete a ticket

DELETE 

/v1/agents/:agentId/tickets/:ticketId

x-scope: "tickets:write"

Deletes the ticket permanently: there is no undo, and its number is not reused. The contact, its notes (status changes that name the ticket included) and the conversation stay. A second delete of the same ticket is 404 not_found. If the AI later opens a ticket from the same conversation, it is a new ticket with a new number. Admin rank on the agent, as in the dashboard.

Request​

Responses​

Deleted.

Response Headers
    X-Correlation-ID

    Correlation id for this request — paste into support tickets.