---
title: "Delete Enrolled Face"
method: DELETE
path: "/v1/face/enroll"
tags: ["Face"]
---

# Delete Enrolled Face

`DELETE /v1/face/enroll`

## Request

- Base URL: `https://api.verihubs.com`
- URL: `https://api.verihubs.com/v1/face/enroll`
- Auth: none declared. Required headers: `App-ID`, `API-Key`

This method helps you to delete enrolled image.
<br> 
You will receive a response consists of message and an error code if the request fails to process. The following is a list of error codes.
<br>

| Error status                                  | Error code                    | Description                                  |
| -----------------------------|:---------------------------------------------|:---------------------------------------------|
| 400 | INVALID_PAYLOAD_SUBJECT_ID_MISSING | Subject id payload is empty/null  |
| 400 | MISSING_PAYLOAD_SUBJECT_ID    | Subject id payload is missing   |
| 404 | INVALID_PAYLOAD_SUBJECT_ID    | subject id not valid / subject id is not found |
| 500 | INTERNAL_SERVER_ERROR         | internal server error |

## Query parameters

- `subject_id` string, required

## Headers

- `App-ID` string, required
- `API-Key` string, required

## Response `200`

Successful Response

- ResponseDeleteEnrollFace
  - `status_code` string: Status Code
  - `message` string, required: Message

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Subject ID is not found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/verihubs/apis/ai-api-documentation.md) - [All operations](https://skmtc.dev/verihubs/apis/ai-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/verihubs/apis/ai-api-documentation/revisions/9313db607e15?raw)
