Devices

Update device metadata

Device metadata represent configuration of the relationship between the plgd cloud and the device. It's not configuration of the device itself. Shadow 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

shadowSynchronization'UNSET' | 'ENABLED' | 'DISABLED'

Response

Metadata successfully updated.

Changes