Last Updated on : 2024-09-10 01:49:17
Based on the device ID, freeze or unfreeze the specified device.
POST: /v2.0/cloud/thing/{device_id}/freeze
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | path | true | The device ID. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
state | Integer | body | true | The device status. Valid values:
|
Parameter name | Type | Description |
---|---|---|
result | Boolean | Indicates whether the operation is successful. Valid values:
|
success | Boolean | Indicates whether the API is called successfully. Valid values:
|
t | Long | The timestamp. |
tid | String | The link ID. |
POST: /v2.0/cloud/thing/6c19224514c02f7490****/freeze
{
"state": 0
}
{
"tid": "b8a2b49abbbc11eda71e169efc83a172",
"result": true,
"t": 1678065474602,
"success": true
}
For more information, see error code.
For more information, see Limits on API Request Frequency.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback