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

# Sanbox - 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>

The following table describes subject_id option to be used as input.

| subject_id    | Description                                   |
|---------------|-----------------------------------------------|
| SUB_EXIST     | subject_id exist in respected App-ID          |
| SUB_NOT_EXIST | subject_id does not exist in respected App-ID |

<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 code                    | Description                                  |
| -----------------------------|:---------------------------------------------|
| INVALID_SANDBOX_SUBJECT_ID   | subject_id not exist in image code sandbox  |
| INVALID_PAYLOAD_SUBJECT_ID    | subject id not valid / subject id is not found |
| INVALID_PAYLOAD_SUBJECT_ID_MISSING | Subject id payload is empty/null  |
| MISSING_PAYLOAD_SUBJECT_ID    | Subject id payload is missing   |
| 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/sandbox-ai-api-documentation.md) - [All operations](https://skmtc.dev/verihubs/apis/sandbox-ai-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/verihubs/apis/sandbox-ai-api-documentation/revisions/a6dfa332ac11?raw)
