gcloud scc notifications delete - delete a Cloud Security Command Center notification config
gcloud scc notifications delete NOTIFICATION_CONFIG_ID [--folder=FOLDER | --organization=ORGANIZATION | --project=PROJECT] [GCLOUD_WIDE_FLAG ...]
Delete a Cloud Security Command Center notification config.
Delete notification config 'my-config' from organization 123
$ gcloud scc notifications delete my-config --organization=123 $ gcloud scc notifications delete \ organizations/123/notificationConfigs/my-config
Delete notification config 'my-config' from folder 456
$ gcloud scc notifications delete my-config --folder=456 $ gcloud scc notifications delete \ folders/456/notificationConfigs/my-config
Delete notification config 'my-config' from project 789
$ gcloud scc notifications delete my-config --project=789 $ gcloud scc notifications delete \ projects/789/notificationConfigs/my-config
- NOTIFICATION_CONFIG_ID
The ID of the notification config. Formatted as "organizations/123/notificationConfigs/456" or just "456".
- At most one of these can be specified:
- --folder=FOLDER
Folder where the notification config resides. Formatted as folders/456 or just 456.
- --organization=ORGANIZATION
Organization where the notification config resides. Formatted as organizations/123 or just 123.
- --project=PROJECT
Project (ID or number) where the notification config resides. Formatted as projects/789 or just 789.
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
This command uses the securitycenter/v1 API. The full documentation for this API can be found at: https://cloud.google.com/security-command-center
These variants are also available:
$ gcloud alpha scc notifications delete
$ gcloud beta scc notifications delete