How to automatically delete Firebase inactive users from database and authentication?

Joyce Sin

Even if the users are not anonymous, I would like to automatically delete the user authentication and user info in the database if they have not logged in for say, a year. This is to prevent old or spam accounts from taking up space in Firebase.

Is this possible without manually checking and deleting on the Firebase console?

Pipiks

You can use the Firebase Cloud Functions.

This sample do exactly what you need.

Here more samples for Firebase Cloud Functions.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How to delete firebase Authentication Users from Android App?

Automatically delete data from Firebase Database

How to delete from Firebase database

How to delete old mysql users from database

How to get data from users in Firebase database?

Is there a way to delete anonymous user from Firebase Database Authentication and Firebase Database UID?

How do I delete a database from Firebase?

How to delete from firebase realtime database?

How to delete data from a Firebase database on a schedule

How to delete from firebase realtime database,

How to delete a user's authentication information from a website hosted on firebase?

How to automatically delete records from database after a specific time in Django

How to delete data from firebase automatically when a certain range exceeds?

Getting users data from firebase database doesn't work after authentication

List all users from Firebase Authentication

How to disable/inactive the data in mongoDB database instead of delete using nodejs

How to retrieve user email from Firebase Authentication to Realtime Database

How to retrieve a list of users from firebase database with angularFire and no "key"?

How to manage users' different authentication in firebase

How to import Users into Firebase authentication with multiple attributes

How to access in android the users registered in Firebase Authentication

How to modify a users firebase authentication token claims?

Delete node from firebase database

delete thousands of inactive users in PHPBB3

Delete an user from Firebase Authentication in Swift

Delete user from firebase authentication with angular

Delete all users from firebase auth console

How to Delete Firebase DataBase from onClick listener of Button

How to delete from Firebase Realtime Database using key?

TOP Ranking

HotTag

Archive