Skip to main content

@wildix/xbees-users-client > DeleteBotCommand

DeleteBotCommand class

Signature:

export declare class DeleteBotCommand extends DeleteBotCommand_base 

Extends: DeleteBotCommand_base

Example

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

import { UsersClient, DeleteBotCommand } from "@wildix/xbees-users-client"; // ES Modules import
// const { UsersClient, DeleteBotCommand } = require("@wildix/xbees-users-client"); // CommonJS import
const client = new UsersClient(config);
const input = { // DeleteBotInput
company: "STRING_VALUE",
botId: "STRING_VALUE", // required
};
const command = new DeleteBotCommand(input);
const response = await client.send(command);
// {};