NAME

gcloud alpha storage buckets notifications delete - delete notification configurations from a bucket

SYNOPSIS

gcloud alpha storage buckets notifications delete URLS [URLS ...] [GCLOUD_WIDE_FLAG ...]

DESCRIPTION

(ALPHA) gcloud alpha storage buckets notifications delete deletes notification configurations from a bucket. If a notification configuration name is passed as a parameter, that configuration alone is deleted. If a bucket name is passed, all notification configurations associated with the bucket are deleted.

Cloud Pub/Sub topics associated with this notification configuration are not deleted by this command. Those must be deleted separately, for example with the command "gcloud pubsub topics delete".

EXAMPLES

Delete a single notification configuration (with ID 3) in the bucket example-bucket:

$ gcloud alpha storage buckets notifications delete \ projects/_/buckets/example-bucket/notificationConfigs/3

Delete all notification configurations in the bucket example-bucket:

$ gcloud alpha storage buckets notifications delete \ gs://example-bucket

POSITIONAL ARGUMENTS

URLS [URLS ...]

Specifies notification configuration names or buckets.

GCLOUD WIDE FLAGS

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.

NOTES

This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. This variant is also available:

$ gcloud storage buckets notifications delete