- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Deletes a notification channel.
Design your application to single-thread API calls that modify the state of notification channels in a single project. This includes calls to notificationChannels.create, notificationChannels.delete and notificationChannels.patch.
HTTP request
DELETE https://monitoring.googleapis.com/v3/{name}
Path parameters
Parameters | |
---|---|
name |
Required. The channel for which to execute the request. The format is:
Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
force |
If true, the notification channel will be deleted regardless of its use in alert policies (the policies will be updated to remove the channel). If false, this operation will fail if the notification channel is referenced by existing alerting policies. |
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/monitoring
For more information, see the Authentication Overview.