---
title: "Update Comment"
method: PUT
path: "/transcripts/{transcript_id}/comments/{comment_id}"
tags: ["transcripts"]
---

# Update Comment

`PUT /transcripts/{transcript_id}/comments/{comment_id}`

Update a comment. Only the comment owner can update.

## Path parameters

- `comment_id` string, uuid, required

## Request body

- CommentRequest
  - `text` string, required

## Response `200`

Successful Response

- CommentResponse
  - `comment_id` string, uuid, required
  - `transcript_id` string, required
  - `text` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `user_profile` CommentUserProfile, required
    - `user_id` string, required
    - `username` string, nullable
    - `avatar_url` string, nullable
  - `is_edited` boolean

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/trytrata/apis/fastapi.md) · [All operations](https://skmtc.dev/trytrata/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trytrata/fastapi/revisions/a8ae8846c411/schema)
