Mark Comment as Spam
youtube_mark_comment_as_spamMarks a YouTube comment as spam, flagging it for review by moderation systems.
Instructions
Marks a comment as spam, flagging it for review by YouTube's moderation systems.
Args
commentId(string, required) — ID of the comment to mark as spam.
Returns
{ "markedAsSpam": true, "commentId": "string" }Examples
Flag a spam comment:
{ "commentId": "UgxABC123" }
Errors
403 if you do not have permission to moderate this comment, or quota is exceeded.
404 if the comment does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commentId | Yes | ID of the comment to mark as spam. |