This method allows you to delete tickets or mark them as SPAM.
/api/v2/tickets/delete
This method can be accessed by account tokens and user tokens where the associated user has access to the tickets UI.
ticket
- the reference for the ticket you wish to delete (required)spam
- if this is set to '1' then the ticket will be marked as SPAM rather than removedIf the deletion is successful, you will receive a 200 OK
response otherwise you will receive a 409 Conflict
.