Method: whitelists.delete
Stay organized with collections
Save and categorize content based on your preferences.
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
.
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[[["\u003cp\u003eThis webpage documents the process for removing a whitelisted YouTube channel for a content owner via a \u003ccode\u003eDELETE\u003c/code\u003e request to the specified URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a path parameter, \u003ccode\u003eid\u003c/code\u003e, which represents the YouTube channel ID to be removed from the whitelist.\u003c/p\u003e\n"],["\u003cp\u003eAn optional query parameter, \u003ccode\u003eonBehalfOfContentOwner\u003c/code\u003e, allows specifying the content owner on whose behalf the request is made.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and a successful response returns an empty JSON object.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization to perform this operation requires the \u003ccode\u003ehttps://www.googleapis.com/auth/youtubepartner\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["This document outlines the process of removing a whitelisted YouTube channel. The core action is a `DELETE` HTTP request to a specific URL, `https://youtubepartner.googleapis.com/youtube/partner/v1/whitelists/{id}`, where `{id}` is the channel ID. The `onBehalfOfContentOwner` query parameter specifies the content owner. The request body is empty, and a successful response returns an empty JSON object. This operation requires `https://www.googleapis.com/auth/youtubepartner` OAuth scope authorization.\n"],null,[]]