Last Updated on : 2023-06-15 05:28:51
Update a face image and name in the device database based on the device ID and face ID.
PUT: /v1.0/cameras/{device_id}/configs/face/{face_id}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The ID of a Tuya device. |
face_id | String | uri | true | The face ID. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
user_name | String | true | The name. | |
face_id_url | String | true | The URL of a specified face image. |
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/cameras/6ce****/configs/face/123****
{
"result": {
"sn": "133****"
},
"t": 1561456817168,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback