AI-generated Key Takeaways
-
This document outlines how to delete a CalculatedMetric on a property using a DELETE HTTP request.
-
The request requires a
namepath parameter specifying the CalculatedMetric to be deleted in the formatproperties/{property_id}/calculatedMetrics/{calculatedMetricId}. -
The request body must be empty, and a successful response body is also an empty JSON object.
-
The deletion requires the
https://www.googleapis.com/auth/analytics.editauthorization scope.
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