Skip to main content

@wildix/wms-api-client > ListUserDevicesCommand

ListUserDevicesCommand class

Signature:

export declare class ListUserDevicesCommand extends ListUserDevicesCommand_base 

Extends: ListUserDevicesCommand_base

Example

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

import { WmsApiClient, ListUserDevicesCommand } from "@wildix/wms-api-client"; // ES Modules import
// const { WmsApiClient, ListUserDevicesCommand } = require("@wildix/wms-api-client"); // CommonJS import
const client = new WmsApiClient(config);
const input = { // ListUserDevicesInput
user: "STRING_VALUE",
};
const command = new ListUserDevicesCommand(input);
const response = await client.send(command);
// { // ListUserDevicesOutput
// devices: [ // DevicesList // required
// { // UserDevice
// userAgent: "STRING_VALUE", // required
// contact: "STRING_VALUE", // required
// active: true || false, // required
// },
// ],
// activeDevice: {
// userAgent: "STRING_VALUE", // required
// contact: "STRING_VALUE", // required
// active: true || false, // required
// },
// };