Method: posts.delete

Deletes a post. If successful, this method returns an HTTP 200 OK response with an empty JSON object ({}) in the response body.

This method is in a pilot phase with access limited to select launch partners (approved Google Cloud projects). Broader public API access is planned for General Availability in 2027.

The authorized user must own the channel that published the post or have permission to delete its posts.

Quota impact: A call to this method has a quota cost of 1 unit. The cost counts against the Post Modifications and Image Uploads quota, which is separate from the default YouTube Data API quota.

For method-specific error responses, see posts.delete errors.

HTTP request

DELETE https://youtube.googleapis.com/youtube/v3/posts

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
id

string

Required. The ID of the post to delete.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Empty.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/youtube
  • https://www.googleapis.com/auth/youtubepartner
  • https://www.googleapis.com/auth/youtube.force-ssl

For more information, see the OAuth 2.0 Overview.