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