@dialstack/sdk-dev / js/src / CreateDeviceResponse
Interface: CreateDeviceResponse
Defined in: sdk/js/src/types/device.ts:384
Minimal response returned by POST /v1/devices. Carries only the
server-assigned ID and the discriminator; call
dialstack.devices.retrieve(id) to fetch the full device.
Properties
id
TypeScript
id: string;
Defined in: sdk/js/src/types/device.ts:386
Unique identifier for the created device
type
TypeScript
type: DeviceType;
Defined in: sdk/js/src/types/device.ts:388
The kind of device that was created.