AI-generated Key Takeaways
-
The DELETE request to delete a MeasurementProtocolSecret uses the specified URL format with path parameters for property, data stream, and measurement protocol secret.
-
The request body must be empty.
-
A successful deletion returns an empty JSON object in the response body.
-
Authorization requires the
https://www.googleapis.com/auth/analytics.edit
OAuth scope.
Deletes target MeasurementProtocolSecret.
HTTP request
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the MeasurementProtocolSecret to delete. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} |
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