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.

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Members
Manage Bookings Services and Settings
Learn more about permission scopes.
Method Declaration
Method Parameters

ID of the member whose email addresses will be deleted.

Return Type:Promise<DeleteMemberEmailsResponse>
Was this helpful?