Last Updated on : 2023-06-15 05:23:44
Send an updating command to a specified access control device to update the information about a specified face. The maximum number of requests per second (QPS) for a single account to call this API is 5
.
PUT: /v1.0/access-control/{device_id}/persons/{person_id}/faces/{face_id}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The ID of a Tuya device. |
person_id | String | uri | true | The ID of a specified user. |
face_id | String | uri | true | The face ID. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
url | String | true | The URL of the face image. | |
device_id | String | uri | true | The ID of a Tuya device. |
person_id | String | uri | true | The ID of a specified user. |
face_id | String | uri | true | The face ID. |
Parameter name | Type | Description |
---|---|---|
result | CmdIssueResultResponse | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
sn | String | The ID of a specified command record. |
PUT: /v1.0/access-control/6ce****/persons/123****/faces/faceId****
{
"url": "http://****.jpg"
}
{
"result": {
"sn": "133****"
},
"t": 1561456817168,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback