AI-generated Key Takeaways
-
Deletes a specific CalculatedMetric associated with a Google Analytics 4 property.
-
Requires specifying the property and CalculatedMetric IDs in the request URL path.
-
Employs an HTTP DELETE request with an empty body, signifying data removal intention.
-
Successful deletion results in an empty response body, confirming action completion.
-
Needs authorization with the 'analytics.edit' scope for permission to modify property data.
Deletes a CalculatedMetric on a property.
HTTP request
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/calculatedMetrics/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the CalculatedMetric to delete. Format: properties/{property_id}/calculatedMetrics/{calculatedMetricId} Example: properties/1234/calculatedMetrics/Metric01 |
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/analytics.edit