> ## 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.

# Unlink Metrics

> Remove metrics from a user group.

> [!WARNING]
>
> You are reading the docs of Galtea 5.15. [Read this page in the latest version](https://docs.galtea.ai/sdk/api/user-group/unlink-metrics.md).

## Example

```python theme={"system"}
galtea.user_groups.unlink_metrics(
    user_group_id=user_group_id,
    metric_ids=[metric_id_2],
)
```

## Parameters

**user\_group\_id** `string` *required*

The ID of the user group.

**metric\_ids** `list[string]` *required*

List of metric IDs to remove from the group.


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