Last Updated on : 2023-06-15 05:25:12
Send an adding command to a specified access control device to add faces for the users in bulk.
POST: /v1.0/access-control/{device_id}/persons/faces
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 |
---|---|---|---|---|
face_list | List | true | The list of faces. |
Description of face_list
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
person_id | String | true | Tuya user ID. | |
face_id | String | true | The face ID. | |
url | String | true | The URL of the face image. |
Parameter name | Type | Description |
---|---|---|
result | CmdIssueBatchResultResponse | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
sn_list | List | The command record ID. |
POST: /v1.0/access-control/6ce****/persons/faces
{
"face_list": [
{
"person_id": "123****",
"face_id": "faceId****",
"url": "http://****.jpg"
},
{
"person_id": "123****",
"face_id": "faceId****",
"url": "http://****.jpg"
}
]
}
{
"result": {
"sn_list": [
"133****",
"132****"
]
},
"t": 1561456817168,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback