Method: projects.removeAnalytics

Unlinks the specified FirebaseProject from its Google Analytics account.

This call removes the association of the specified FirebaseProject with its current Google Analytics property. However, this call does not delete the Google Analytics resources, such as the Google Analytics property or any data streams.

These resources may be re-associated later to the FirebaseProject by calling projects.addGoogleAnalytics and specifying the same analyticsPropertyId. For Android Apps and iOS Apps, this call re-links data streams with their corresponding apps. However, for Web Apps, this call provisions a new data stream for each Web App.

To call projects.removeAnalytics, a member must be an Owner for the FirebaseProject.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



The parent FirebaseProject to unlink from its Google Analytics account, in the format:


Request body

The request body contains data with the following structure:

JSON representation
  "analyticsPropertyId": string


Optional. The ID of the Google Analytics property associated with the specified FirebaseProject.

  • If not set, then the Google Analytics property that is currently associated with the specified FirebaseProject is removed.
  • If set, and the specified FirebaseProject is currently associated with a different Google Analytics property, then the response is a 412 Precondition Failed error.

Response body

If successful, the response body will be empty.

Authorization Scopes

Requires one of the following OAuth scopes:


For more information, see the Authentication Overview.

Try it!