# Discard the ticket

This method is triggered in case of fail during `ticket_create` procedure. Currently there could be two main reasons resulting in this method: connection lost or unsatisfactory result.

Request fields:

<table><thead><tr><th width="129">Attribute</th><th width="117">Data Type</th><th>Description</th></tr></thead><tbody><tr><td>operator</td><td>string</td><td>Name of the operator as registered on the system</td></tr><tr><td>ticket_id</td><td>string</td><td>Ticket id</td></tr><tr><td>reason</td><td>string</td><td>Reason for <code>discard</code> action</td></tr></tbody></table>

Sample request:

```json
{
    "action": "ticket_discard", 
    "data": {
        "operator": "operator-code",
        "ticket_id": "1330556611374148608",
        "reason": "some-reason"
    }
}
```

Sample response:

```
Response: 200
Doesn't require any payload
```
