Remove asset from playlist

Removed an asset or list of assets from a given playlist.

Path Parameters
  • playlist_id
    Type: string
    required

    Playlist ID that is to be deleted.

Body
application/json
  • delete_list
    Type: array string[]
    required

    Array of video asset ids.

Responses
  • application/json
  • application/json
Request Example for delete/video/playlist/{playlist_id}/asset
import Gumlet from '@gumlet/nodejs-sdk';

const client = new Gumlet({
  apiKey: process.env['API_KEY'], // defaults to the API_KEY env var
});

const videoPlaylist = await client.videoPlaylists.deleteAsset('playlistId', {
  delete_list: ['6508790783e4d606118467a3'],
});

console.log(videoPlaylist);
{
  "success": true
}