Skip to content

Delete Face Authen ​

Deregisters a user's face profile, removing the enrolled template from the system. Use it to honour erasure requests and to undo an enrolment made in error.

Deleting a profile does not revoke signing credentials: they belong to the device, not to the user. Revoke a device's keys with Revoke Signing Credential if needed.

Endpoint ​

http
POST /v1/delete_face_auth
Content-Type: application/json
json
{
  "user_id": "user_00000001"
}

Parameters:

ParamTypeRequiredDefaultDescription
user_idstringYes—The registered customer user ID.

Returns: DeleteFaceAuthResponse

Sample Request ​

bash
curl -X POST \
  '<BASE_URL>/v1/delete_face_auth' \
  -H 'Authorization: ATV <ACCESS_ID>:<SIGNATURE>' \
  -H 'X-TV-Timestamp: <TIMESTAMP>' \
  -H 'Content-Type: application/json' \
  -d '{
    "user_id": "user_00000001"
  }'

Response ​

json
{
  "data": {
    "request_id": "d4493ff5-e41f-4d10-a291-6a9727050b4c",
    "status": "success"
  },
  "errors": [],
  "success": true,
  "code": 0,
  "message": "Success"
}
FieldTypeDescription
data.request_idstringID of the request (UUID).
data.statusstringStatus of the response — success or failure.

WARNING

Deletion is irreversible and immediately breaks authentication for that user — every subsequent Verify Face Authen call will fail until they re-register. Confirm the user_id before calling.

Errors ​

CodeMessage
2001010Access ID not found.
401100You are not authorized to perform the action.
4001000Input parameter violates a constraint.
4001001The X-TV-Timestamp header is expired, need a newer one.
4041000The image ID is not found in DB.
4041002The profile of user not found.
4291000The number of requests exceeded your throughput limit.
5001000Some unexpected error occurs while processing the request.
CodeDescription
access_denied_exceptionYou are not authorized to perform the action.
invalid_parameter_exceptionInput parameter violates a constraint.
request_time_too_skewedThe X-TV-Timestamp header is expired, need a newer one.
image_not_found_exceptionThe image ID is not found in DB.
user_profile_not_found_exceptionThe profile of user not found.
rate_limit_exceptionThe number of requests exceeded your throughput limit.
internal_server_errorSome unexpected error occurs while processing the request.

Next Steps ​

Developers