This method helps you to delete enrolled image.
Key Type Notes Description App-ID String Required Application ID that generated from Application Menu in Verihubs Client Dashboard.
To hit in Testing and Live mode you need a Production Application ID. API-Key String Required API-Key that generated from Application Menu in Verihubs Client Dashboard that related to specific Application ID.
You can generate your Application ID and API-Key in the Application page in Verihubs Client Dashboard. .
Parameter Type Notes Default Description subject_id String required - Subject id to be deleted
Code Description 200 Successful Response 400 Bad Request 401 Unauthorized 500 Internal Server Error
Key Type Description message string Message that describe the overall response. timestamp number Shows time when the process is successfully done
Response Code Error Message Description 400 INVALID_PAYLOAD_SUBJECT_ID Subject id not valid / subject id is not found 400 INVALID_PAYLOAD_SUBJECT_ID_MISSING Subject id payload is empty/null 400 MISSING_PAYLOAD_SUBJECT_ID Subject id payload is missing 500 INTERNAL_SERVER_ERROR internal server error
Response Code Response Description 200 JSON
{
"message": "Subject id e48c24d3-8366-4dc7-9d8e-deff949c6ae3 successfully deleted",
"timestamp": 1660180314.222929
}Subject_id is exist and successfully deleted. 400 JSON
{
"message": "Subject id is not found",
"error_code": "INVALID_PAYLOAD_SUBJECT_ID"
}Subject_id does not exist. 500 JSON
{
"message": "Internal server error"
}Internal server error.