> For the complete documentation index, see [llms.txt](https://docs.tnid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tnid.com/api-reference/001_user/002_email/006__remove_user_email.md).

# Remove User Email

GraphQL endpoint: `/user`

Removes an email address from the user's profile. Note: The primary email cannot be removed. You must first set a different email as primary before removing the current primary email.

## Query

```graphql
mutation (
  $id: ID!
) {
  removeUserEmail (
    id: $id
  ) {
    id
    email
    types
  }
}

```

## Variables

```json
{
  "id": "00000000-0000-4000-8000-000000000001"
}
```

## Response

```json
{
  "data": {
    "removeUserEmail": {
      "email": "test1@email.com",
      "id": "00000000-0000-4000-8000-000000000001",
      "types": [
        "OTHER"
      ]
    }
  }
}
```
