This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Changes a member's login email address.
After running this function, the specified member can log in with the new email address. If the member uses social login (for example, Google login) and the member tries to log in with the old email address, they will be re-registered with the old email address.
Site collaborators can use changeLoginEmail()
to change another member's login email. Members who are not site collaborators can use changeLoginEmail()
to change their own login email only.
Note: changeLoginEmail()
cannot be used to change the login email of a site collaborator. Site collaborators can change their login emails from their Wix account settings.
Member ID.
New login email address.
Options for changing a login email address.