> ## Documentation Index
> Fetch the complete documentation index at: https://docs.weflayr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete evaluator

> Delete an evaluator of the project.

Delete an evaluator of your project. Past benchmarks keep their results, and keep naming it.

## Parameters

**evaluator\_id** `integer` *required*

The evaluator's id.

The response also carries `blockers` (what prevents the usual next step), in plain words. It is empty when the usual workflow applies.

```python Python theme={null}
import weflayr

client = weflayr.client()  # reads WEFLAYR_API_KEY

client.delete_evaluator(evaluator_id=14)
```

```js Node.js theme={null}
const weflayr = require('weflayr');

const client = weflayr.client(); // reads WEFLAYR_API_KEY

await weflayr.api.deleteEvaluator({
  client,
  throwOnError: true,
  query: {
    evaluatorId: 14,
  },
});
```

```bash cURL theme={null}
curl -X DELETE "https://app.weflayr.com/api/evaluators/?evaluator_id=14" \
  -H "Authorization: Bearer $WEFLAYR_API_KEY"
```

```json 200 theme={null}
{
  "evaluator_id": 14,
  "deleted": true,
  "blockers": []
}
```

```json 401 theme={null}
{"error": "Invalid or missing API key. Send it as \"Authorization: Bearer <your key>\"."}
```

```json 400 theme={null}
{"error": "Overall quality is a built-in evaluator, so it cannot be deleted.", "code": "evaluator_not_editable"}
```

```json 404 theme={null}
{"error": "No evaluator of this project has the id 14, or it was deleted. List the evaluators with get_evaluators."}
```

```json 422 theme={null}
{"error": "Invalid request payload.", "detail": [{"field": "evaluator_id", "error": "Field required"}]}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.