Adds a standard moderator to a live chat. The moderator role applies to all live chats on the channel that owns the live chat.
Requests must be authorized by the owner of the live chat's channel or a user with channel-level comment management permissions (such as a YouTube Studio Manager or Editor). In the request body, provide a liveChatModerator resource with values for the following required properties:
snippet.liveChatIdsnippet.moderatorDetails.channelId
Adding a user who is already a standard or managing moderator succeeds without changing their role and returns the moderator resource.
For method-specific error responses, see liveChatModerators.insert errors. For code examples, see liveChatModerators.insert code snippets.
HTTP request
POST https://youtube.googleapis.com/youtube/v3/liveChat/moderators
The URL uses gRPC Transcoding syntax.
Query parameters
| Parameters | |
|---|---|
part[] |
Required. The |
Request body
The request body contains an instance of LiveChatModerator.
Response body
If successful, the response body contains a newly created instance of LiveChatModerator.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/youtubehttps://www.googleapis.com/auth/youtube.force-ssl
For more information, see the OAuth 2.0 Overview.