PlaylistImages: update

  • 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.

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).

Parameters

The following table lists the parameters that this query supports. All of the parameters listed are query parameters.

Request body

Provide a playlistImages resource in the request body.

For that resource:

  • You must specify a value for these properties:

    • snippet.playlistId
    • snippet.type
  • You can set values for these properties:

    • snippet.width
    • snippet.height

Response

If successful, this method returns a playlistItem resource in the response body.