Required. The resource name of the Google Cloud Platform project. Written asprojects/{projectID}orprojects/{projectID}/locations/{location}, where{projectID}is theGoogle Cloud Platform project IDand{location}is a Cloud region.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-14 UTC."],[[["\u003cp\u003eThis API endpoint allows you to delete all error events within a specified Google Cloud Platform project.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request to delete error events is a \u003ccode\u003eDELETE\u003c/code\u003e request to a specific URL that includes the project name.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eprojectName\u003c/code\u003e path parameter is required and must include the project ID and optionally a location.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for this operation must be empty, and the response body will also be empty if the deletion is successful.\u003c/p\u003e\n"],["\u003cp\u003eTo use this API, you'll need to have one of two specified OAuth scopes which can be found in the authorization scopes section.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.deleteEvents\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDeletes all error events of a given project.\n\n### HTTP request\n\n`DELETE https://clouderrorreporting.googleapis.com/v1beta1/{projectName=projects/*/locations/*}/events`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is empty.\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `https://www.googleapis.com/auth/stackdriver-integration`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]