Delete Enroll

This method helps you to delete enrolled image.

🎈Endpoint

🎈Request

Headers

KeyTypeNotesDescription
App-IDStringRequiredApplication ID that generated from Application Menu in Verihubs Client Dashboard.
To hit in Testing and Live mode you need a Production Application ID.
API-KeyStringRequiredAPI-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..

Body Parameters

ParameterTypeNotesDefaultDescription
subject_idStringrequired-Subject id to be deleted

🎈Responses

Response Code

CodeDescription
200Successful Response
400Bad Request
401Unauthorized
500Internal Server Error

Details for 200

KeyTypeDescription
messagestringMessage that describe the overall response.
timestampnumberShows time when the process is successfully done

Error Code

Response CodeError MessageDescription
400INVALID_PAYLOAD_SUBJECT_IDSubject id not valid / subject id is not found
400INVALID_PAYLOAD_SUBJECT_ID_MISSINGSubject id payload is empty/null
400MISSING_PAYLOAD_SUBJECT_IDSubject id payload is missing
500INTERNAL_SERVER_ERRORinternal server error

Sample Responses

Response CodeResponseDescription
200{
"message": "Subject id e48c24d3-8366-4dc7-9d8e-deff949c6ae3 successfully deleted",
"timestamp": 1660180314.222929
}
Subject_id is exist and successfully deleted.
400{
"message": "Subject id is not found",
"error_code": "INVALID_PAYLOAD_SUBJECT_ID"
}
Subject_id does not exist.
500{
"message": "Internal server error"
}
Internal server error.