Last Updated on : 2023-06-19 07:05:58
Freeze or unfreeze a device.
PUT: /v1.0/iot-03/devices/{device_id}/freeze-state
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | Device ID |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
state | Integer | true | The device status after modification:
|
Parameter name | Type | Description |
---|---|---|
result | Boolean |
PUT: /v1.0/iot-03/devices/xxxxId/freeze-state
{
"state": 1
}
{
"result": true,
"t": 1591872112140,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback