# Close a Ticket

**URL:** https://yourdomain.com/api/tickets/close

**Type: POST**

```
{
  "id": 8,
}
```

<div id="bkmrk-customer_id%3A-the-id-"><div>**customer\_id:** The ID of the customer, who owns the ticket, this makes sure they can close the ticket.</div><div><div><div>**ticket\_id**: This is the ticket ID.</div></div></div><div>  
</div></div><div id="bkmrk-"></div><div id="bkmrk-the-result-returns-t">The result returns the ticket ID.</div>