Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to delete firebase Authentication Users from Android App?

Firebase dashboard view here

I need to remove A user from firebase authenticated Users list - using my mobile application. Authentication method is email and password authentication.

like image 549
Roshane Valentine De Silva Avatar asked Jul 15 '26 06:07

Roshane Valentine De Silva


1 Answers

The Firebase Admin SDK allows deleting existing users by their uid: for reference: Check this link

FirebaseAuth.getInstance().deleteUserAsync(uid).get();
System.out.println("Successfully deleted user.");

For app you can create API that will call this block on server. e.g. deleteUserCall() that takes email or userId as parameter and on server side against that userId you can delete that user

like image 111
Sara Tirmizi Avatar answered Jul 17 '26 18:07

Sara Tirmizi