Removes a moderator from a live chat. Removal 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). This method removes either a standard or managing moderator, and succeeds with HTTP 204 if the target user is already not a moderator.
For method-specific error responses, see liveChatModerators.delete errors. For code examples, see liveChatModerators.delete code snippets.
HTTP request
DELETE https://youtube.googleapis.com/youtube/v3/liveChat/moderators
The URL uses gRPC Transcoding syntax.
Query parameters
| Parameters | |
|---|---|
id |
Required. Identifies the chat moderator to remove. The value uniquely identifies both the moderator and the live chat, as returned by |
Request body
The request body must be empty.
Response body
If successful, the response body is empty.
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.