Last Updated on : 2023-12-07 03:34:01download
Get the temporary key for password encryption. The temporary key is valid for 5 minutes.
POST: /v1.0/smart-lock/devices/{device_id}/password-ticket
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The device ID. |
Parameter name | Type | Description |
---|---|---|
result | LockTicketVO |
Description of result
Parameter name | Type | Description |
---|---|---|
ticket_id | String | The ID of the temporary key. |
ticket_key | String | The temporary key. It can be used after decryption with AES using the accessKey that is issued by the Cloud Development Platform. |
expire_time | Long | The remaining validity period. |
POST: /v1.0/smart-lock/devices/vdevo15345926009****/password-ticket
{
"result": {
"expire_time": 360,
"ticket_id": "9wxxoLM",
"ticket_key": "901CC35A67DA3429C38E9622xxxxx3EAE1CE333462356D257FD1*****"
},
"t": 1592899848757,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback