Method: projects.deleteEvents

Deletes all error events of a given project.

HTTP request

DELETE https://clouderrorreporting.googleapis.com/v1beta1/{projectName=projects/*}/events

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
projectName

string

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID} or projects/{projectID}/locations/{location}, where {projectID} is the Google Cloud Platform project ID and {location} is a Cloud region.

Examples: projects/my-project-123, projects/my-project-123/locations/global.

For a list of supported locations, see Supported Regions. global is the default when unspecified.

Request body

The request body must be empty.

Response body

If successful, the response body is empty.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/stackdriver-integration

For more information, see the Authentication Overview.