v1

latestOpenAPI 3.0.12026-07-17265663.1 KB
Devices

Update device metadata

Device metadata represent configuration of the relationship between the plgd hub and the device. It's not configuration of the device itself. Twin configuration is part of the metadata. By setting this value you control if the shadow for this device is kept up to date or not.

put/api/v1/devices/{deviceId}/metadata

Path parameters

deviceIdstring uuid required

Id of the device.

Query parameters

timeToLiveinteger

Command expiration in nanoseconds. 0 means forever and 100ms is minimal value.

Request body

twinEnabledboolean

Response

Metadata successfully updated.