deleteMemberEmails( )


Clears a member's email addresses.

The deleteMemberEmails() function returns a Promise that resolves to a member object when the specified member's email addresses are cleared.

deleteMemberEmails() deletes all email addresses from the contactDetails.emails array, which affects both the specified member and the attached contact.

Note: The member can still log in with their loginEmail, which is not changed when this function is called.

Method Declaration
Copy
Method Parameters
idstringRequired

ID of the member whose email addresses will be deleted.

Returns
Return Type:Promise<Member>
Was this helpful?
Yes
No