Last Updated on : 2023-06-20 14:54:10
The cloud service sends a command of synchronizing the time to a specified access control device. After receiving the command, the access control device synchronizes its time with the cloud service.
POST: /v1.0/access-control/{device_id}/actions/synctime
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The ID of a Tuya device. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
timestamp | Long | true | The timestamp. |
Parameter name | Type | Description |
---|---|---|
result | CmdIssueResultResponse | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
sn | String | The command record ID. |
POST: /v1.0/access-control/6ce****/actions/synctime
{
"timestamp": 1582959882104
}
{
"result": {
"sn": "133****"
},
"t": 1561456817168,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback