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