Method: subscriptions.delete

Deletes a subscription. If successful, this method returns an HTTP 204 No Content response with an empty body.

For method-specific error responses, see subscriptions.delete errors. For code examples, see subscriptions.delete code snippets.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
id

string

Required. Identifies the YouTube subscription to delete, using the id property from a subscription resource. The authenticated user must own the subscription.

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

For more information, see the OAuth 2.0 Overview.