Method: properties.keyEvents.delete

  • The provided content details the process for deleting a Key Event using a DELETE HTTP request.

  • The request requires specifying the Key Event's resource name in the URL path parameters.

  • The request body must be empty for a successful deletion.

  • A successful deletion results in an empty JSON response body.

  • Deleting a Key Event necessitates the https://www.googleapis.com/auth/analytics.edit OAuth scope for authorization.

Deletes a Key Event.

HTTP request

DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/keyEvents/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The resource name of the Key Event to delete. Format: properties/{property}/keyEvents/{keyEvent} Example: "properties/123/keyEvents/456"

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