This SDK documentation is outdated. Please do not refer to it, and instead visit the User Guides section.

Skip to main content
Version: 7.1.X

updateEmailOrPassword(input: {userId: string, email?: string, password?: string})

Parameters#

  • userId
    • type: string
  • email (Optional)
    • type: string
    • This is the new email to update to.
  • password (Optional)
    • type: string
    • This is the new password to update to.

Returns#

Promise<{
status: "OK" | "EMAIL_ALREADY_EXISTS_ERROR" | "UNKNOWN_USER_ID_ERROR";
}>
Looking for older versions of the documentation?
Which UI do you use?
Custom UI
Pre built UI