- [HTTP request](https://developers.google.com/youtube/data/reference/rest/v3/liveChatMessages/delete.md.txt#body.HTTP_TEMPLATE)
- [Query parameters](https://developers.google.com/youtube/data/reference/rest/v3/liveChatMessages/delete.md.txt#body.QUERY_PARAMETERS)
- [Request body](https://developers.google.com/youtube/data/reference/rest/v3/liveChatMessages/delete.md.txt#body.request_body)
- [Response body](https://developers.google.com/youtube/data/reference/rest/v3/liveChatMessages/delete.md.txt#body.response_body)
- [Authorization scopes](https://developers.google.com/youtube/data/reference/rest/v3/liveChatMessages/delete.md.txt#body.aspect)
- [Try it!](https://developers.google.com/youtube/data/reference/rest/v3/liveChatMessages/delete.md.txt#try-it)

Deletes a chat message. The request must be authorized by the channel owner, a moderator of the live chat, or the author of the message.

Poll messages can't be deleted with this method; use [liveChatMessages.transition](https://developers.google.com/youtube/data/reference/rest/v3/liveChatMessages/transition.md.txt) to close an active poll. If successful, this method returns an HTTP `204` (`No Content`) response.

For method-specific error responses, see [liveChatMessages.delete errors](https://developers.google.com/youtube/data/reference/rest/v3/errors.md.txt#liveChatMessages_youtube.liveChatMessages.delete). For code examples, see [liveChatMessages.delete code snippets](https://developers.google.com/youtube/data/code_samples/code_snippets.md.txt?method=liveChatMessages.delete).

### HTTP request

`DELETE https://youtube.googleapis.com/youtube/v3/liveChat/messages`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Query parameters

| Parameters ||
|---|---|
| `id` | `string` Required. Specifies the YouTube live chat message ID of the resource to delete. |

### 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/youtube`
- `https://www.googleapis.com/auth/youtube.force-ssl`

For more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2).