| Server IP : 35.236.43.222 / Your IP : 216.73.216.143 Web Server : Apache System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64 User : deploy ( 1002) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/google-cloud-sdk/lib/surface/monitoring/channels/ |
Upload File : |
- release_tracks: [ALPHA, BETA]
help_text:
brief: Delete a notification channel.
description: |
Delete a notification channel.
## EXAMPLES
The following command will delete channel `projects/12345/notificationChannels/67890`, but
only if the channel is not actively referenced by existing alerting policies:
$ {command} "projects/12345/notificationChannels/67890"
The following command will delete channel `projects/12345/notificationChannels/67890`, even
if the channel is still actively referenced by alerting policies; if an existing policy
references the channel, it will be modified as a side-effect to remove the channel.
$ {command} "projects/12345/notificationChannels/67890" --force
request:
collection: monitoring.projects.notificationChannels
arguments:
resource:
help_text: The notification channel to delete.
spec: !REF googlecloudsdk.command_lib.monitoring.resources:notification_channel
params:
- arg_name: force
api_field: force
action: store_true
help_text: If true, the notification channel will be deleted regardless of its
use in alerting policies (the policies will be updated to remove the channel).