Update Comment
youtube_update_commentUpdate the text of an existing YouTube comment to correct errors or revise content. Requires comment ID and new text.
Instructions
Updates the text of an existing comment owned by the authenticated channel.
Args
commentId(string, required) — ID of the comment to update.text(string, required) — New text content for the comment.
Returns The updated comment resource:
{
"id": "string",
"parentId": "string",
"authorDisplayName": "string",
"text": "string",
"updatedAt": "ISO-8601"
}Examples
Fix a typo in a comment:
{ "commentId": "UgxABC123_reply", "text": "Corrected text here." }
Errors
400 if
textis empty or thecommentIdis invalid.403 if the comment does not belong to the authenticated channel, or quota is exceeded.
404 if the comment does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commentId | Yes | ID of the comment to update. | |
| text | Yes | New text content for the comment. |