# Delete User Face Enroll

## Delete User Face Enroll

<mark style="color:red;">`DELETE`</mark> `Https://api.biometrid.com/api/1.1/users/:userId/face/delete`

Delete User face enroll.

#### Path Parameters

| Name   | Type   | Description       |
| ------ | ------ | ----------------- |
| userID | string | BiometrID user ID |

#### Headers

| Name               | Type   | Description                       |
| ------------------ | ------ | --------------------------------- |
| x-biometrid-key    | string | <p>Application Client Key<br></p> |
| x-biometrid-secret | string | Application Client Secret         |

{% tabs %}
{% tab title="200 Delete Face Enroll" %}
{% tabs %}
{% tab title="HTTP/1.1 200 OK" %}

```javascript
{
    "status": true,
    "data": {
        "message": "USER_FACE_CREDENTIALS_DELETED"
    }
}
```

{% endtab %}
{% endtabs %}
{% endtab %}

{% tab title="400 Bad Request types" %}
{% tabs %}
{% tab title="HTTP/1.1 400 Bad Request" %}

```javascript
//User face not enroled on this provider.
    {
        "status": false,
        "data": {
            "message": "ENROLL_USER_FACE_FIRST"
        }
    }
// Missing Headers
 {
    "status": false,
    "data": {
        "message": "AUTHENTICATION_HEADERS_MISSING"
    }
}
```

{% endtab %}
{% endtabs %}
{% endtab %}

{% tab title="401 Invalid Headers." %}
{% tabs %}
{% tab title="HTTP/1.1 401 Unauthorized" %}

```javascript
{
    "status": false,
    "data": {
        "message": "INVALID_AUTHENTICATION_HEADERS"
    }
}
```

{% endtab %}
{% endtabs %}
{% endtab %}

{% tab title="402 Payment Required - Request Limit Reached for Client Plan." %}
{% tabs %}
{% tab title="HTTP/1.1 402 Payment Required" %}

```javascript
{
    "status": false,
    "data": {
        "message": "REQUEST_LIMIT_REACHED"
    }
}
```

{% endtab %}
{% endtabs %}
{% endtab %}

{% tab title="404 Not Found request types" %}
{% tabs %}
{% tab title="HTTP/1.1 404 Not Found" %}

```javascript
// No active engine configuration for this provider.
    {
        "status": false,
        "data": {
            "message": "NO_FACE_ENGINE_CONFIGURATION_AVAILABLE"
        }
    }
 // User's id not exists in biometrid environment.
    {
        "status": false,
        "data": {
            "message": "USERID_NOT_EXISTS"
        }
    }
//Client not found by given key.
    {
        "status": false,
        "data": {
            "message": "CLIENT_NOT_FOUND/CHECK_AUTHENTICATION_HEADERS"
        }
    }
 
```

{% endtab %}
{% endtabs %}
{% endtab %}
{% endtabs %}
