DELETE
/
playlists
/
{playlistID}
using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components;

var sdk = new PlexAPI(accessToken: "<YOUR_API_KEY_HERE>");

var res = await sdk.Playlists.DeletePlaylistAsync(playlistID: 216.22D);

// handle response
This response does not have an example.

Authorizations

X-Plex-Token
string
header
required

Plex Authentication Token

Path Parameters

playlistID
number
required

the ID of the playlist

Response

204
_mintlify/placeholder

The playlist is deleted