# PUT QNA Thread

## PUT QNA Thread

<mark style="color:orange;">`PUT`</mark> `https://api.cakes.com/qna/thread/:id/update`

This endpoint allows you to update QNA Thread

#### Path Parameters

| Name | Type   | Description |
| ---- | ------ | ----------- |
| id   | string | thread id   |

#### Request Body

| Name         | Type   | Description                  |
| ------------ | ------ | ---------------------------- |
| question\_id | string | question id for the thread   |
| user\_id     | string | user id who wrote the thread |
| text         | string | Thread text                  |

{% tabs %}
{% tab title="200 Successfully update QNA thread" %}

```
{    "message": "success update QNA thread"}
```

{% endtab %}

{% tab title="404 Could not find matching question" %}

```
{    "message": "Could not find matching question"}
```

{% endtab %}
{% endtabs %}

<mark style="color:orange;">`PUT`</mark> `https://api.cakes.com/qna/thread/update`

#### Path Parameters

| Name | Type   | Description |
| ---- | ------ | ----------- |
|      | string |             |

{% tabs %}
{% tab title="404 " %}

```
Could not find matching question
```

{% endtab %}
{% endtabs %}
