Deletes a playlist. If successful, this method returns an HTTP 204 No
Content response with an empty body.
Only standard user playlists (PL prefix) can be deleted; other playlist types fail with 400 playlistOperationUnsupported.
For method-specific error responses, see playlists.delete errors. For code examples, see playlists.delete code snippets.
HTTP request
DELETE https://youtube.googleapis.com/youtube/v3/playlists
The URL uses gRPC Transcoding syntax.
Query parameters
| Parameters | |
|---|---|
id |
Required. Specifies the YouTube playlist ID of the playlist to delete, using the |
onBehalfOfContentOwner |
Intended exclusively for YouTube content partners and valid only in an authorized request. Indicates that the request's authorization credentials identify a YouTube CMS user acting on behalf of the specified content owner, allowing partners that manage multiple channels to authenticate once and manage playlists for linked channels. |
Request body
The request body must be empty.
Response body
If successful, the response body is empty.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/youtubehttps://www.googleapis.com/auth/youtubepartnerhttps://www.googleapis.com/auth/youtube.force-ssl
For more information, see the OAuth 2.0 Overview.