v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14134933.3 KB

Using a Boolean value (true or false), this operation enables or disables the device given a device ID.

put/devices/{deviceId}/state

Path parameters

deviceIdstring required

The unique identifier of the device.

Request body

enabledboolean

If true, the device is enabled. If false, the device is disabled.

Response

Success

UpdateDeviceStateResponse required