Page Summary
-
This page documents how to patch a saved policy using a
PATCHHTTP request to the specified URL endpoint,https://youtubepartner.googleapis.com/youtube/partner/v1/policies/{policyId}. -
The request requires a
policyIdpath parameter to identify the specific policy to update. -
It also supports an optional
onBehalfOfContentOwnerquery parameter, which is used for users acting on behalf of a content owner. -
Both the request and response bodies are instances of the
Policyresource. -
Authorization for this request requires the
https://www.googleapis.com/auth/youtubepartnerOAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Patches the specified saved policy.
HTTP request
PATCH https://youtubepartner.googleapis.com/youtube/partner/v1/policies/{policyId}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
policyId
|
The |
Query parameters
| Parameters | |
|---|---|
onBehalfOfContentOwner
|
The |
Request body
The request body contains an instance of Policy
.
Response body
If successful, the response body contains an instance of Policy
.
Authorization scopes
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/youtubepartner
For more information, see the OAuth 2.0 Overview .

