Last Updated on : 2023-12-07 03:34:00download
Assign the smart lock passwords to device members.
POST: /v1.0/devices/{device_id}/device-lock/users/{user_id}/allocate
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| device_id | String | uri | true | The device ID. |
| user_id | String | uri | true | The ID of the device member. |
Description of body
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| no | String | true | The serial number of the lock. | |
| type | String | true | The type of the unlocking method. Valid values:
|
| Parameter name | Type | Description |
|---|---|---|
| result | Boolean | The operation result. |
POST: /v1.0/devices/vdevo15345926009****/device-lock/users/xxx/allocate
{
"no": "30",
"type": "card"
}
{
"result": true,
"t": 1571898808491,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback