blockByEmail( )

Blocks a member from logging in to the site.

The blockByEmail() function returns a Promise that resolves when the specified member is blocked.

To unblock the member and allow them to log in to the site, use approveByEmail().

Method Declaration
Copy
Method Parameters
emailstringRequired

Login email address of the member to block.

Was this helpful?
Yes
No