Deletes an alerting policy.
Design your application to single-thread API calls that modify the state of alerting policies in a single project. This includes calls to alertPolicies.create, alertPolicies.delete and alertPolicies.patch.
HTTP request
DELETE https://monitoring.googleapis.com/v3/{name}
Path parameters
| Parameters | |
|---|---|
name |
Required. The alerting policy to delete. The format is: For more information, see Authorization requires the following IAM permission on the specified resource
|
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/monitoring
For more information, see the Authentication Overview.