> ## Documentation index
> Fetch the complete documentation index at: https://workover.io/docs/llms.txt

# Update a comment

PATCH`/project/comments/{commentId}`

Edit a comment's text, or resolve or reopen it.

## Path Parameters

`commentId`

numberrequired

## Response

200

**cURL**

```bash
curl --request PATCH \
  --url 'https://api.workover.io/project/comments/{commentId}'
```

**JavaScript**

```javascript
const options = {
  method: 'PATCH'
};

fetch('https://api.workover.io/project/comments/{commentId}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

**Python**

```python
import requests

url = "https://api.workover.io/project/comments/{commentId}"

response = requests.patch(url)

print(response.text)
```
