v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1383206367.4 KB
comments

Sets the moderation status of one or more comments.

post/youtube/v3/comments/setModerationStatus

Query parameters

idstring[] required

Modifies the moderation status of the comments with the given IDs

moderationStatus'published' | 'heldForReview' | 'likelySpam' | 'rejected' required

Specifies the requested moderation status. Note, comments can be in statuses, which are not available through this call. For example, this call does not allow to mark a comment as 'likely spam'. Valid values: 'heldForReview', 'published' or 'rejected'.

banAuthorboolean

If set to true the author of the comment gets added to the ban list. This means all future comments of the author will autmomatically be rejected. Only valid in combination with STATUS_REJECTED.

Response

Successful response