scottwalstead
scottwalstead

Reputation: 93

How would I delete a playlist using YouTube API V3? Or would I have to use an AJAX DELETE method?

a lot of people complain they have too many YouTube playlists and it sucks to delete them one at a time. Using the YouTube V3 API, would it be possible for me to programmatically delete their playlists for them? If not, could I do a DELETE call to YouTube using Angular client side or node.js serverside?

Upvotes: 0

Views: 138

Answers (1)

CptCam
CptCam

Reputation: 93

All you would need to do is call playlists.list() to retrieve the ids for all of the playlists you would like to delete, and then delete them using playlists.delete(). You can see the details for these methods here: https://developers.google.com/youtube/v3/docs/playlists

Upvotes: 1

Related Questions