Delete User Data

Made by Firebase

Deletes data keyed on a userId from Cloud Firestore, Realtime Database, or Cloud Storage when a user deletes their account.

8.2K+
installs
Works with
Authentication, Cloud Firestore, Realtime Database, and Cloud Storage
Version
0.1.23 | Source code
License
Apache-2.0
Publisher
Firebase
Report
Bug
Abuse

How this extension works

Use this extension to automatically delete certain data keyed on a user ID when the user is deleted from Firebase Authentication.

You can configure this extension to delete certain data keyed on a user ID from any or all of the following: Cloud Firestore, Realtime Database, or Cloud Storage. Each trigger of the extension to delete data is keyed to the user’s UID.

This extension has a few different mechanisms for discovering data keyed on a user ID for deletion that you can configure during installation. These are outlined in the official docs for this extension. The extension will only delete data that it is explicitly configured to delete based on the mechanisms provided.

To use this extension, you need to manage your users with Firebase Authentication.

NOTE: This extension may be useful in helping you respect user privacy and fulfill compliance requirements you may be subject to. However, you are responsible for assessing and determining your compliance needs and obligations, and using this extension does not guarantee compliance with government and industry regulations.

Additional setup

Depending on where you’d like to delete user data from, make sure that you’ve set up Cloud Firestore, Realtime Database, or Cloud Storage in your Firebase project before installing this extension.

Also, make sure that you’ve set up Firebase Authentication to manage your users.

Billing

To install an extension, your project must be on the Blaze (pay as you go) plan

  • This extension uses other Firebase and Google Cloud Platform services, which have associated charges if you exceed the service’s no-cost tier:
    • Cloud Firestore
    • Firebase Realtime Database
    • Cloud Storage
    • Pubsub
    • Cloud Functions (Node.js 10+ runtime. See FAQs)