Skip to content
requestEmailChangeMutation
requestEmailChange(email: String!): RequestEmailChangeResult!

Send a verification code and link to the requested email address. Confirming either swaps the user's email to the new address. Always returns success regardless of whether the target email is already in use (anti-enumeration).

Arguments

emailString!

Returns

RequestEmailChangeResult!

See RequestEmailChangeResult for the full shape.

Try it

Example
Query
mutation RequestEmailChange($email: String!) {
  requestEmailChange(email: $email) {
    __typename
  }
}
Variables
{}
POST https://go.sessions.website/api/graphql
requestEmailChange