Method: projects.deleteEvents

Deletes all error events of a given project.

HTTP request

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

The URL usesgRPC Transcoding syntax.

Path parameters

Parameters
projectName

string

Required. The resource name of the Google Cloud Platform project. Written asprojects/{projectID} orprojects/{projectID}/locations/{location}, where{projectID} is theGoogle 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, seeSupported 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 theAuthentication Overview.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-14 UTC.