Skip to content
confirmEmailChangeMutation
confirmEmailChange(email: String!, code: String!): ConfirmEmailChangeResult!

Confirm a pending email change with the 6-digit code sent to the new address. The user must still be signed in to the account requesting the change.

Arguments

emailString!
codeString!

Returns

ConfirmEmailChangeResult!

See ConfirmEmailChangeResult for the full shape.

Try it

Example
Query
mutation ConfirmEmailChange($email: String!, $code: String!) {
  confirmEmailChange(email: $email, code: $code) {
    __typename
  }
}
Variables
{}
POST https://go.sessions.website/api/graphql
confirmEmailChange