Use this API to delete a face comparison transaction by transactionId.
Request Example:
Bash
curl -X POST "https://api.advance.ai/intl/openapi/face-identity/v1/face-comparison/delete" \
-H "X-ACCESS-TOKEN: {Your Access Token}" \
-H "Content-Type: application/json" \
--data '{
"transactionId": "{Your Transaction Id}"
}'
Indonesia Singapore Thailand Philippines Mexico Nigeria Malaysia
https://api.advance.ai/intl/openapi/face-identity/v1/face-comparison/delete
POST (application/json)https://sg-api.advance.ai/intl/openapi/face-identity/v1/face-comparison/delete
POST (application/json)https://th-api.advance.ai/intl/openapi/face-identity/v1/face-comparison/delete
POST (application/json)https://ph-api.advance.ai/intl/openapi/face-identity/v1/face-comparison/delete
POST (application/json)https://mex-api.advance.ai/intl/openapi/face-identity/v1/face-comparison/delete
POST (application/json)https://nga-api.advance.ai/intl/openapi/face-identity/v1/face-comparison/delete
POST (application/json)https://my-api.advance.ai/intl/openapi/face-identity/v1/face-comparison/delete
POST (application/json)
Parameter Description transactionId string The transaction ID for the face comparison service call.
Parameter Description code enum Response's Status CodetransactionId string The request id, the max length is 64pricingStrategy enum Whether the request will be charged, enum type: FREE, PAYmessage string Status Code Explanationdata object Always return null for this APIextra object Extra response info (Exception Message)
Status Code Message SUCCESS free OKPARAMETER_ERROR free Parameter should not be emptyfree The transactionId does not existREQUEST_IN_PROCESSING free Your request is currently being processed. Please do not submit it repeatedlyERROR free Server error
JSON
{
"code": "SUCCESS",
"message": "OK",
"data": null,
"extra": null,
"transactionId": "a9dc751497286ff3",
"pricingStrategy": "FREE"
}
JSON
{
"code": "PARAMETER_ERROR",
"message": "Parameter should not be empty",
"data": null,
"extra": null,
"transactionId": "a9dc751497286ff3",
"pricingStrategy": "FREE"
}
JSON
{
"code": "PARAMETER_ERROR",
"message": "The transactionId does not exist",
"data": null,
"extra": null,
"transactionId": "a9dc751497286ff3",
"pricingStrategy": "FREE"
}
JSON
{
"code": "REQUEST_IN_PROCESSING",
"message": "Your request is currently being processed. Please do not submit it repeatedly",
"data": null,
"extra": null,
"transactionId": "a9dc751497286ff3",
"pricingStrategy": "FREE"
}
JSON
{
"code": "ERROR",
"message": "Server error",
"data": null,
"extra": null,
"transactionId": "a9dc751497286ff3",
"pricingStrategy": "FREE"
}