Delete Face Image

Last Updated on : 2023-06-20 14:54:09

Delete a face image from the face database based on the device ID and face ID.

API address

DELETE: /v1.0/cameras/{device_id}/configs/face/{face_id}

Request parameter

Parameter nameTypeINRequiredDescription
device_idStringuritrueThe ID of a Tuya device.
face_idStringuritrueThe face ID.

Return parameter

Parameter nameTypeDescription
resultCmdIssueResultResponseThe returned result.

Description of result

Parameter nameTypeDescription
snStringThe ID of a specified command record.

Request example

DELETE: /v1.0/cameras/6ce****/configs/face/123****

Return example

{
    "result": {
        "sn": "133****"
    },
    "t": 1561456817168,
    "success": true
}

Error code

For more information, see error code.