Skip to main content

@wildix/xbees-users-client > UnlinkIdentityCommand

UnlinkIdentityCommand class

Removes a non-primary identity from the account. Requires step-up verification for the primary identity.

Signature:

export declare class UnlinkIdentityCommand extends UnlinkIdentityCommand_base

Extends: UnlinkIdentityCommand_base

Example

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

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