Delete Enroll
This method helps you to delete enrolled image.
🎈Endpoint
| Method | Endpoint |
|---|---|
| DELETE | https://api.verihubs.com/v1/face/enroll |
🎈Request
Headers
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..
Body Parameters
| Parameter | Type | Notes | Default | Description |
|---|---|---|---|---|
| subject_id | String | required | - | Subject id to be deleted |
🎈Responses
Response Code
| Code | Description |
|---|---|
| 200 | Successful Response |
| 400 | Bad Request |
| 401 | Unauthorized |
| 500 | Internal Server Error |
Details for 200
| Key | Type | Description |
|---|---|---|
| message | string | Message that describe the overall response. |
| timestamp | number | Shows time when the process is successfully done |
Error Code
| 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 |
Sample Responses
Response Code | Response | Description |
|---|---|---|
200 | | Subject_id is exist and successfully deleted. |
400 | | Subject_id does not exist. |
500 | | Internal server error. |
Updated about 2 months ago
