Clears a member's email addresses.
The deleteMemberEmails()
function clears the emails
array under the contact
property.
Notes:
A member can still log in with their loginEmail
,
which is not cleared when this function is called.
Only logged-in members can call this function without elevated permissions. To call this function as a different identity, elevated permissions are required.
ID of the member whose email addresses will be deleted.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.