PlaylistImages: update
Stay organized with collections
Save and categorize content based on your preferences.
Modifies a playlist image.
Quota impact: A call to this method has a quota cost of 50 units.
Request
HTTP request
PUT https://www.googleapis.com/youtube/v3/playlistImages
Authorization
This request requires authorization with at least one of the following scopes (read more about authentication and authorization).
Scope |
https://www.googleapis.com/auth/youtubepartner |
https://www.googleapis.com/auth/youtube |
https://www.googleapis.com/auth/youtube.force-ssl |
Parameters
The following table lists the parameters that this query supports. All of the parameters listed are query parameters.
Parameters |
Required parameters |
part |
string
The part parameter specifies a
comma-separated list of one or more playlistImage resource
properties that the API response will include.
If the parameter
identifies a property that contains child properties, the child properties
will be included in the response.
|
Optional parameters |
onBehalfOfContentOwner |
string
Note: The onBehalfOfContentOwner parameter is intended exclusively for YouTube content partners and can only be used in a properly authorized request.
This parameter is designed for YouTube content partners that own and manage many different YouTube channels. It enables users affiliated with the content owner to authenticate once and then be able to access and manage all of the content owner's video and channel data, without having to provide authentication credentials for each individual channel.
When the parameter is present, its value identifies a content owner, and the request's authorization credentials identify a YouTube user who is authorized to act on behalf of that content owner. The account that the user authenticates with must be linked to the specified content owner in the YouTube Creator Studio settings. |
Request body
Provide a playlistImages resource in the request body.
For that resource:
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-16 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 2024-08-16 UTC."],[[["This method allows modification of a playlist image via the YouTube API."],["Utilizing this method incurs a quota cost of 50 units per call."],["Authorization is required, with scopes such as `https://www.googleapis.com/auth/youtubepartner`, `https://www.googleapis.com/auth/youtube`, or `https://www.googleapis.com/auth/youtube.force-ssl` being necessary."],["The `part` parameter is required, while `onBehalfOfContentOwner` is an optional parameter intended for YouTube content partners."],["The request body must contain a `playlistImages` resource with specified values for `snippet.playlistId` and `snippet.type`, and can optionally include `snippet.width` and `snippet.height`."]]],["This outlines how to modify a playlist image via the YouTube API. A `PUT` request is sent to `playlistImages`, costing 50 quota units. Authorization is required, utilizing scopes like `youtubepartner`. The request needs the `part` parameter and can optionally include `onBehalfOfContentOwner`. The request body requires `snippet.playlistId` and `snippet.type` properties and can optionally have `snippet.width` and `snippet.height` set. A successful request returns a `playlistItem` resource.\n"]]