Skip to main content

changeEmail()

Use nhost.auth.changeEmail to change a user's email. This will send a confirm-email-change link in an email to the new email. Once the user clicks on the confirm-email-change link the email will be change to the new email.

nhost.auth.changeEmail({ newEmail: 'doe@example.com' })

Parameters


__namedParameters required ChangeEmailParams

PropertyTypeRequiredNotes
__namedParameters.newEmailstring✔️
__namedParameters.optionsRedirectOption