Method: whitelists.delete

  • This webpage documents the process for removing a whitelisted YouTube channel for a content owner via a DELETE request to the specified URL.

  • The request requires a path parameter, id , which represents the YouTube channel ID to be removed from the whitelist.

  • An optional query parameter, onBehalfOfContentOwner , allows specifying the content owner on whose behalf the request is made.

  • The request body must be empty, and a successful response returns an empty JSON object.

  • Authorization to perform this operation requires the https://www.googleapis.com/auth/youtubepartner OAuth scope.

Removes a whitelisted channel for a content owner.

HTTP request

DELETE https://youtubepartner.googleapis.com/youtube/partner/v1/whitelists/{id}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
id

string

The id parameter specifies the YouTube channel ID of the channel being removed from whitelist.

Query parameters

Parameters
onBehalfOfContentOwner

string

The onBehalfOfContentOwner parameter identifies the content owner that the user is acting on behalf of. This parameter supports users whose accounts are associated with multiple content owners.

Request body

The request body must be empty.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/youtubepartner

For more information, see the OAuth 2.0 Overview .

Design a Mobile Site
View Site in Mobile | Classic
Share by: