Removes a permanent ban that prevents a specific user from contributing to a live chat, enabling the user to rejoin the chat. The API request must be authorized by the channel owner or a moderator of the live chat associated with the ban. Temporary bans can't be removed with this method. If the specified user isn't banned, the method succeeds with an HTTP 204 No
Content status code.
For method-specific error responses, see liveChatBans.delete errors. For code examples, see liveChatBans.delete code snippets.
HTTP request
DELETE https://youtube.googleapis.com/youtube/v3/liveChat/bans
The URL uses gRPC Transcoding syntax.
Query parameters
| Parameters | |
|---|---|
id |
Required. Identifies the permanent chat ban to remove. The value uniquely identifies both the ban and the chat (use the |
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.