Deletes a playlist item. Try it now.
Quota impact: A call to this method has a quota cost of approximately 50 units.
Request
HTTP request
DELETE https://www.googleapis.com/youtube/v3/playlistItems
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 |
Parameters
The table below lists the parameters that this query supports. All of the parameters listed are query parameters.
Parameter name | Value | Description |
---|---|---|
Required parameters | ||
id |
string |
The id parameter specifies the YouTube playlist item ID for the playlist item that is being deleted. In a playlistItem resource, the id property specifies the playlist item's ID. |
Request body
Do not provide a request body when calling this method.
Response
If successful, this method returns a playlistItem resource in the response body.
Errors
The table below identifies error messages that the API could return in response to a call to this method. Please see the error message documentation for more detail.
Error type | Error detail | Description |
---|---|---|
forbidden (403) |
playlistItemsNotAccessible |
The request is not properly authorized to delete the specified playlist item. |
notFound (404) |
playlistItemNotFound |
The playlist item identified with the request's id parameter cannot be found. |
Try it!
Use the API Explorer to call this method on live data and see the API request and response.