NYYU Logo
APIUser

Confirm Email Change

Complete email address change with verification code

Confirm Email Change

USER

Complete email change by providing the verification code sent to the new email address.

Mutation

GraphQL Schema

confirmEmailChange(code: String!): String

Parameters

codeString!
Required

Verification code sent to the new email address

Example Usage

mutation {
  confirmEmailChange(code: "123456")
}

Security Considerations

Code Expiration

Verification codes expire after 15 minutes. Request a new code if expired.

Session Update

After successful email change, user session is updated with the new email.