Home > @firebase/app > deleteApp
deleteApp() function
Renders this app unusable and frees the resources of all associated services.
Signature:
export declare function deleteApp(app: FirebaseApp): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
app | FirebaseApp |
Returns:
Promise<void>
Example
deleteApp(app)
.then(function() {
console.log("App deleted successfully");
})
.catch(function(error) {
console.log("Error deleting app:", error);
});