Method: properties.dataStreams.measurementProtocolSecrets.delete

  • This page details how to delete a target MeasurementProtocolSecret using an HTTP DELETE request.

  • The DELETE request requires a name parameter specifying the MeasurementProtocolSecret to be deleted.

  • The request body for this DELETE operation must be empty.

  • A successful response will have an empty JSON object in the response body.

  • Authorization for this action requires the https://www.googleapis.com/auth/analytics.edit OAuth scope.

Deletes target MeasurementProtocolSecret.

HTTP request

DELETE https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

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