Deletes the specified instance ID and the associated data from Firebase.Note that Google Analytics for Firebase uses its own form of Instance ID to keep track of analytics data. Therefore deleting a Firebase Instance ID does not delete Analytics data. See Delete an Instance ID for more information.
InstanceId.app
Returns the app associated with this InstanceId instance.
Signature:
getapp():App;
InstanceId.deleteInstanceId()
Deletes the specified instance ID and the associated data from Firebase.
Note that Google Analytics for Firebase uses its own form of Instance ID to keep track of analytics data. Therefore deleting a Firebase Instance ID does not delete Analytics data. See Delete an Instance ID for more information.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-07-29 UTC."],[],[],null,["\u003e | **Warning:** This API is now obsolete.\n\u003e\n\u003e Use [Installations](./firebase-admin.installations.installations.md#installations_class) instead.\n\nThe `InstanceId` service enables deleting the Firebase instance IDs associated with Firebase client app instances.\n\n**Signature:** \n\n export declare class InstanceId \n\nProperties\n\nMethods\n\nInstanceId.app\n\nReturns the app associated with this InstanceId instance.\n\n**Signature:** \n\n get app(): App;\n\nInstanceId.deleteInstanceId()\n\nDeletes the specified instance ID and the associated data from Firebase.\n\nNote that Google Analytics for Firebase uses its own form of Instance ID to keep track of analytics data. Therefore deleting a Firebase Instance ID does not delete Analytics data. See [Delete an Instance ID](https://firebase.google.com/support/privacy/manage-iids#delete_an_instance_id) for more information.\n\n**Signature:** \n\n deleteInstanceId(instanceId: string): Promise\u003cvoid\u003e;\n\nParameters\n\n**Returns:**\n\nPromise\\\u003cvoid\\\u003e\n\nA promise fulfilled when the instance ID is deleted."]]