Last Updated on : 2024-08-19 06:22:28download
Set an advanced password for a smart lock.
POST: /v1.0/devices/{device_id}/door-lock/advanced-password
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The device ID. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
password | String | true |
| |
password_type | String | true | The password is encrypted using a ticket . | |
ticket_id | String | true | The ID of the temporary key. Get the temporary key for password encryption. | |
advanced_type | String | true | The type of advanced password. Valid values:
|
Parameter name | Type | Description |
---|---|---|
result | Boolean | The operation result. |
POST: /v1.0/devices/vdevo15345926009****/door-lock/advanced-password
{
"password_type": "ticket",
"password": "7A8F9B6197xxxx7C1D66",
"ticket_id": "fJeqZd45",
"advanced_type": "emergency"
}
{
"result": true,
"t": 1542626129429,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback