@wildix/wim-voicebots-client > DeleteVoiceBotCommand
DeleteVoiceBotCommand class
Signature:
export declare class DeleteVoiceBotCommand extends DeleteVoiceBotCommand_base
Extends: DeleteVoiceBotCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { VoiceBotsClient, DeleteVoiceBotCommand } from "@wildix/wim-voicebots-client"; // ES Modules import
// const { VoiceBotsClient, DeleteVoiceBotCommand } = require("@wildix/wim-voicebots-client"); // CommonJS import
const client = new VoiceBotsClient(config);
const input = { // DeleteVoiceBotInput
company: "STRING_VALUE",
botId: "STRING_VALUE", // required
};
const command = new DeleteVoiceBotCommand(input);
const response = await client.send(command);
// {};