Skip to main content

@dialstack/sdk / index / CreateDeviceResponse

Interface: CreateDeviceResponse

Defined in: sdk/src/types/device.ts:208

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

id: string;

Defined in: sdk/src/types/device.ts:210

TypeID with dev_, dectb_, or decth_ prefix


type

type: DeviceType;

Defined in: sdk/src/types/device.ts:212

The kind of device that was created.