Skip to main content

@dialstack/sdk / index / UpdateDeviceRequest

Interface: UpdateDeviceRequest

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

Request payload for POST /v1/devices/{id}. Tri-state fields (name, location_id, base_id) accept three values: omit to leave unchanged, a string to set, or explicit JSON null to clear.

Properties

base_id?

optional base_id?: string | null;

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

Tri-state parent base. dect_handset only — repair to a different base (string) or unpair (null).


button_template_id?

optional button_template_id?: string | null;

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

Tri-state programmable-key template binding.


ipei?

optional ipei?: string;

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

Handset IPEI. dect_handset only.


location_id?

optional location_id?: string | null;

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

Tri-state dispatch location. deskphone and dect_base only.


model?

optional model?: string;

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

Device model.


name?

optional name?: string | null;

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

Tri-state human-friendly label.


overrides?

optional overrides?: DeviceSettings;

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

Device-specific settings overrides.


status?

optional status?: DeviceStatus;

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

Device status.