> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/api-rest/identity-api/identity-api-reference/users/users-blacklists/unenroll-user-blacklist.md).

# Unenroll User Blacklist

Elimina el registro de un usuario de la lista negra. Solo el cliente que registró originalmente el rostro puede realizar esta operación.

### Endpoint

```
DELETE /users/blacklist/{userId}
```

### Autenticación

| Tipo    | Ubicación | Nombre        |
| ------- | --------- | ------------- |
| API Key | Header    | **x-api-key** |

### Parámetros de ruta

| Parámetro | Tipo   | Requerido | Descripción                                  |
| --------- | ------ | --------- | -------------------------------------------- |
| `userId`  | string | **Sí**    | ID del usuario a eliminar de la lista negra. |

### Respuestas

#### `200` Éxito

Usuario eliminado exitosamente de la lista negra. Esta respuesta no incluye cuerpo.

#### `400` Bad Request

```json
{
  "status": 400,
  "title": "Bad Request",
  "detail": "Invalid request.",
  "type": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400",
  "errors": []
}
```

#### `401` Unauthorized

```json
{
  "message": "Unauthorized"
}
```

#### `403` Forbidden

```json
{
  "Message": "User is not authorized to access this resource with an explicit deny"
}
```

#### `404` Not Found

```json
{
  "status": 404,
  "title": "Not Found",
  "detail": "The server can't find the requested resource.",
  "type": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404"
}
```
