# Update Ticket Category (Obsolete)

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

#### Request&#x20;

```
PATCH /tickets/{ticketId}/category/{categoryId}
```

#### Query Parameters

|            |         |          |                                   |
| ---------- | ------- | -------- | --------------------------------- |
| Name       | Type    | Required | Comments                          |
| ticketId   | integer | yes      | Id of ticket you want to update.  |
| categoryId | integer | yes      | Id of category you want to set up |

#### Response

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

`Data` field will be equal to null.
