Page Summary
-
This endpoint patches metadata for a specified YouTube asset using its
assetId. -
The request utilizes a
PATCHHTTP method and requires theassetIdas a path parameter. -
It also allows the
onBehalfOfContentOwnerquery parameter to identify the content owner. -
The request body should contain an instance of the
Assetresource, and the successful response also returns anAssetresource. -
This request needs the
https://www.googleapis.com/auth/youtubepartnerOAuth scope for authorization.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Patches the metadata for the specified asset.
HTTP request
PATCH https://youtubepartner.googleapis.com/youtube/partner/v1/assets/{assetId}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
assetId |
The |
Query parameters
| Parameters | |
|---|---|
onBehalfOfContentOwner |
The |
Request body
The request body contains an instance of Asset.
Response body
If successful, the response body contains an instance of Asset.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/youtubepartner
For more information, see the OAuth 2.0 Overview.