Last Updated on : 2023-06-20 12:39:05
The partner synchronizes the offline status of a specified device to Tuya based on the network connection of the device.
PUT: /v1.0/iot-03/3rdcloud/devices/{device_id}/offline
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The ID of a Tuya device. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | The returned result. |
code | Boolean | The response code. It is empty when the operation succeeded. |
msg | String | The error message if the API call fails. It is empty if the operation succeeded. |
success | Boolean | Indicates whether the operation is successful. Valid values:
|
t | Long | The 13-digit timestamp of a response. |
PUT: /v1.0/iot-03/3rdcloud/devices/6cf4171005d11e2ca7****/offline
{
"result": true,
"t": 1649993779377,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback