Call this API to delete a userId and the enrolls.
Request Example:
curl -X POST \
https://sg-api.advance.ai/intl/openapi/identity-risk/idvs-h5/ekyc/v1/face-authentication/delete-enroll \
-H 'Content-Type: application/json' \
-H 'X-ACCESS-TOKEN:`{Your Access Token}`' \
-d '{
"userId":"8e44f0089b076e18a718eb9ca3d94674"
}'
https://sg-api.advance.ai/intl/openapi/identity-risk/idvs-h5/ekyc/v1/face-authentication/delete-enroll
POST (application/json)
https://api.advance.ai/intl/openapi/identity-risk/idvs-h5/ekyc/v1/face-authentication/delete-enroll
POST (application/json)
Parameter | Description |
---|
userId | string The unique userId to identify the user. |
Parameter | Description |
---|
code | H5 Document Verification Status Code |
transactionId | The request id, the max length is 64 |
pricingStrategy | Deprecated , Always return FREE |
message | Status Code Explanation |
data | Always null for this API |
extra | Extra response info (Exception Message) |
Status Code | Message |
---|
SUCCESS | OK |
PARAMETER_ERROR | Parameter error, please check you input. |
| UserId is invalid |
ERROR | Server error |
{
"code": "SUCCESS",
"message": "OK",
"data": null,
"extra": null,
"transactionId": "ed8b21c0c87ad617",
"pricingStrategy": "FREE"
}
{
"code":"PARAMETER_ERROR",
"message":"Parameter error,please check you input.",
"data":null,
"extra":null,
"transactionId":"ba134d6112c57a4c",
"pricingStrategy":"FREE"
}
{
"code":"PARAMETER_ERROR",
"message":"UserId is invalid",
"data":null,
"extra":null,
"transactionId":"dfcdc346a81f404f",
"pricingStrategy":"FREE"
}
{
"code":"ERROR",
"message":"Server error",
"data":null,
"extra":null,
"transactionId":"1deae5a13ef2bd5e",
"pricingStrategy":"FREE"
}