firebase_admin.instance_id module

Firebase Instance ID module.

This module enables deleting instance IDs associated with Firebase projects.

Functions

delete_instance_id

firebase_admin.instance_id.delete_instance_id(instance_id,app=None)

Deletes the specified instance ID and the associated data from Firebase.

Note that Google Analytics for Firebase uses its own form of Instance ID tokeep track of analytics data. Therefore deleting a regular Instance ID doesnot delete Analytics data. SeeDelete an Instance ID for more information.

Parameters:
  • instance_id – A non-empty instance ID string.

  • app – An App instance (optional).

Raises:
  • InstanceIdError – If an error occurs while invoking the backend instance ID service.

  • ValueError – If the specified instance ID or app is invalid.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2023-09-26 UTC.