Last Updated on : 2023-12-07 03:33:55
The administrator unbinds an assigned unlocking method from a user. After the unbinding operation is successful, the unlocking method can be bound with other users. This API applies to Wi-Fi and Zigbee door locks.
POST: /v1.0/smart-lock/devices/{device_id}/opmodes/actions/cancel-allocate
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The device ID. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
user_id | String | true | The user ID. | |
unlock_list | List | true | The list of unlocking methods. |
Description of unlock_list
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
code | String | true | The code of a specified unlocking method. Valid values:
| |
unlock_sn | Integer | true | The number of a specified unlocking method. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | The returned result. Valid values:
|
POST: /v1.0/smart-lock/devices/vdevo12454656****/opmodes/actions/cancel-allocate
{
"user_id": "00****pdo",
"unlock_list": [
{
"code": "unlock_fingerprint",
"unlock_sn": 2
},
{
"code": "unlock_password",
"unlock_sn": 1
},
{
"code": "unlock_card",
"unlock_sn": 3
}
]
}
{
"tid": "573a2a1eac0111ecb10bc61f0b5f39c2",
"result": true,
"t": 1648188230193,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback