Skip to main content

@wildix/wda-insights-client > DeletePlaylistCommand

DeletePlaylistCommand class

Deletes a playlist by its ID.

Signature:

export declare class DeletePlaylistCommand extends DeletePlaylistCommand_base 

Extends: DeletePlaylistCommand_base

Example

Use a bare-bones client and the command you need to make an API call.

import { WdaInsightsClient, DeletePlaylistCommand } from "@wildix/wda-insights-client"; // ES Modules import
// const { WdaInsightsClient, DeletePlaylistCommand } = require("@wildix/wda-insights-client"); // CommonJS import
const client = new WdaInsightsClient(config);
const input = { // DeletePlaylistInput
company: "STRING_VALUE",
user: "STRING_VALUE",
id: "STRING_VALUE", // required
};
const command = new DeletePlaylistCommand(input);
const response = await client.send(command);
// {};