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

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

var res = await sdk.Playlists.ClearPlaylistContentsAsync(playlistID: 1893.18D);

// 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

200
_mintlify/placeholder

The playlist contents are cleared