deleteMemberEmails( )


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.

Permissions
Manage Blog
Manage Bookings Services and Settings
Manage Challenges
Access Verticals by Automations
Set Up Automations
Manage Members
Manage Events
Manage Portfolio
Manage Restaurants - all permissions
Manage Stores
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
_idstringRequired

ID of the member whose email addresses will be deleted.

Returns
Return Type:Promise<DeleteMemberEmailsResponse>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?