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

# Deleting Metric

> Delete a specific metric by its ID.

> [!WARNING]
>
> You are reading the docs of Galtea 5.17. [Read this page in the latest version](https://docs.galtea.ai/sdk/api/metric/delete.md).

## Example

```python theme={"system"}
galtea.metrics.delete(metric_id=metric_id)
```

## Parameters

**metric\_id** `string` *required*

The ID of the metric or of one of its revisions. A metric ID deletes the metric with all its revisions. A revision ID deletes that revision, with its evaluations and specification links, and the metric too when it has no live revision left. The active revision can be deleted on its own only when it is the last revision of the metric.


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