---
title: pydo.genai.delete_custom_evaluation_metric()
description: Delete Custom Evaluation Metric
product: Reference
url: https://docs.digitalocean.com/reference/pydo/reference/genai/delete_custom_evaluation_metric/
last_updated: "2026-08-03"
---

> **For AI agents:** The documentation index is at [https://docs.digitalocean.com/llms.txt](https://docs.digitalocean.com/llms.txt). Markdown versions of pages use the same URL with `index.html.md` in place of the HTML page (for example, append `index.html.md` to the directory path instead of opening the HTML document).

# pydo.genai.delete_custom_evaluation_metric()

Generated on 3 Aug 2026 from `pydo` version [`v0.40.0`](https://github.com/digitalocean/pydo/releases/tag/v0.40.0v0.40.0)

## Usage

```python
client.genai.delete_custom_evaluation_metric(
    metric_uuid="\"123e4567-e89b-12d3-a456-426614174000\"",
)
```

Returns `JSON`Raises `HttpResponseError`

## Description

To soft-delete a custom model evaluation metric, send a DELETE request to [`/v2/gen-ai/custom_evaluation_metrics/{metric_uuid}`](https://docs.digitalocean.com/reference/api/reference/gradientai-platform/index.html.md#genai_delete_custom_evaluation_metric).

## Parameters

`metric_uuid` string required

UUID of the custom metric to delete.

## More Information

See [`/v2/gen-ai/custom_evaluation_metrics/{metric_uuid}`](https://docs.digitalocean.com/reference/api/reference/gradientai-platform/index.html.md#genai_delete_custom_evaluation_metric) in the API reference for additional detail on responses, headers, parameters, and more.