# Update Ticket Status

{% hint style="warning" %}
All API requests should contain [authorization headers](https://developers.socialboards.com/docs/apis/tickets/authorization-headers).
{% endhint %}

#### Request

```
PATCH /tickets/{ticketId}/status
```

#### Query Parameters

<table><thead><tr><th>Name</th><th width="100">Type</th><th width="100">Required</th><th>Comments</th></tr></thead><tbody><tr><td>ticketId</td><td>integer</td><td>yes</td><td>Id of ticket you want to update</td></tr></tbody></table>

**Request Body**

```
"open"
```

Body of request should contain one of [Ticket Status](https://developers.socialboards.com/docs/apis/tickets/reference/enumerations/ticket-status) enumeration values.

{% hint style="danger" %}
not\_completed ticket status cannot be set to ticket. It can be used only for [listing tickets](https://developers.socialboards.com/docs/apis/tickets/reference/endpoints/list-tickets).
{% endhint %}

#### Response

```json
{
  "data": {},
  "errorCode": -1,
  "errorText": null
}
```
