Stop Gmail/Ms account with a certain domain from registering or logging in

Hey Dan, thanks for you answer, Can I integrate the Auth0 Management API v2 with actions, to have auto delete those accounts ? or do I have to do it manually?