Skip to main content

deletePlaylist

Deletes a custom site playlist and its usage history, returning true on success. Recommended ids return a not-found error; recordings matched by the filter are not deleted. Requires recordings edit access.

deletePlaylist(
site: Int!
playlist: Int!
): Boolean

Arguments​

deletePlaylist.site ● Int! non-null scalar​

Site id from sites; the site must be accessible to the current viewer.

deletePlaylist.playlist ● Int! non-null scalar​

Positive custom playlist id from playlistsList for this site; recommended ids are not accepted.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.