> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/users/llms.txt)
> Source: https://docs.saleor.io/api-reference/users/mutations/confirm-email-change

# confirmEmailChange Mutation

Confirm the email change of the logged-in user.

Requires the AUTHENTICATED\_USER permission.

Triggers the following webhook events:

-   CUSTOMER\_UPDATED (async): A customer account was updated.
-   NOTIFY\_USER (async): A notification that account email change was confirmed.
-   ACCOUNT\_EMAIL\_CHANGED (async): An account email was changed.

```graphql
confirmEmailChange(
  channel: String
  token: String!
): ConfirmEmailChange
```

Details

```graphql
type ConfirmEmailChange {
  user: User
  accountErrors: [AccountError!]! @deprecated
  errors: [AccountError!]!
}
```

<a id="arguments"></a>

### Arguments

<a id="channel"></a>

#### [`channel`](#channel) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Slug of a channel which will be used to notify users. Optional when only one channel exists.

<a id="token"></a>

#### [`token`](#token) ● [`String!`](/api-reference/miscellaneous/scalars/string.md)

A one-time token required to change the email.

<a id="type"></a>

### Type

<a id="confirmemailchange"></a>

#### [`ConfirmEmailChange`](/api-reference/users/objects/confirm-email-change.md)

Confirm the email change of the logged-in user.

Requires the AUTHENTICATED\_USER permission.

Triggers the following webhook events:

-   CUSTOMER\_UPDATED (async): A customer account was updated.
-   NOTIFY\_USER (async): A notification that account email change was confirmed.
-   ACCOUNT\_EMAIL\_CHANGED (async): An account email was changed.
