# Update thread comment

> Updates a comment's content. Only the comment's author can edit it.

`PATCH /v2/api/threads/comments/{comment_id}`

<Note>
**Required scope:** `THREADS_WRITE`
</Note>

## Behavior

Replaces the comment's `content`. Only the comment's **author** can edit it — updating someone else's comment returns `403` with code `NOT_COMMENT_AUTHOR`.

Mentions are re-parsed from the new content — see the [mentions guide](/docs/notes/overview#mentions).

## Errors

| Status | Code | When |
|--------|------|------|
| `400` | `EMPTY_NOTE_CONTENT` | `content` is missing or blank |
| `400` | `NOTE_CONTENT_TOO_LONG` | `content` exceeds 4,000 characters |
| `403` | `NOT_COMMENT_AUTHOR` | The API key's user is not the comment's author |
| `404` | `THREAD_COMMENT_NOT_FOUND` | No comment with this ID |
