Method: projects.removeAnalytics
Stay organized with collections
Save and categorize content based on your preferences.
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 project member must be an Owner for the FirebaseProject
.
HTTP request
POST https://firebase.googleapis.com/v1beta1/{parent=projects/*}:removeAnalytics
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
The resource name of the FirebaseProject to unlink from its Google Analytics account, in the format:
projects/PROJECT_IDENTIFIER
Refer to the FirebaseProject name field for details about PROJECT_IDENTIFIER values.
|
Request body
The request body contains data with the following structure:
JSON representation |
{
"analyticsPropertyId": string
} |
Fields |
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 is empty.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/firebase
For more information, see the Authentication Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-24 UTC.
[null,null,["Last updated 2024-10-24 UTC."],[],[],null,["Unlinks the specified [FirebaseProject](/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject) from its Google Analytics account.\n\nThis 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.\n\nThese resources may be re-associated later to the `FirebaseProject` by calling [`projects.addGoogleAnalytics`](../../v1beta1/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.\n\nTo call `projects.removeAnalytics`, a project member must be an Owner for the `FirebaseProject`.\n\nHTTP request\n\n`POST https://firebase.googleapis.com/v1beta1/{parent=projects/*}:removeAnalytics`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\nRequest body\n\nThe request body contains data with the following structure:\n\nResponse body\n\nIf successful, the response body is empty.\n\nAuthorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/firebase`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]