@wildix/wda-insights-client > DeleteDashboardCommand
DeleteDashboardCommand class
Deletes a dashboard by its ID.
Signature:
export declare class DeleteDashboardCommand extends DeleteDashboardCommand_base
Extends: DeleteDashboardCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { WdaInsightsClient, DeleteDashboardCommand } from "@wildix/wda-insights-client"; // ES Modules import
// const { WdaInsightsClient, DeleteDashboardCommand } = require("@wildix/wda-insights-client"); // CommonJS import
const client = new WdaInsightsClient(config);
const input = { // DeleteDashboardInput
company: "STRING_VALUE",
user: "STRING_VALUE",
id: "STRING_VALUE", // required
};
const command = new DeleteDashboardCommand(input);
const response = await client.send(command);
// {};