# Deleting labels

### Overall

Deleting a label will remove it from all places with ION. See below for steps on how to delete it via the API (not available in the UI yet).

{% embed url="<https://www.loom.com/share/680ada89440e4771812f781c0153ad73?sid=a4850b80-4f1e-48f9-9f5b-481047d5ac94>" %}

### Steps

1. Query for the label

*Make sure to replace the values between the angled brackets.*

```graphql
{
  labels(filters: {value: {eq: <your label here>}}) {
    edges {
      node {
        id
        _etag
        value
      }
    }
  }
}

```

2. Delete the label

```graphql
mutation DeleteLabel($id: ID!, $etag: String!) {
  deleteLabel(id: $id, etag: $etag) {
    id
  }
}

```

with the below variables:

```graphql
{
  "id": <id from previous step>,
  "etag": <etag from previous step>
}
```
