- gcloud beta app versions delete - delete a specified version
gcloud beta app versions delete VERSIONS [VERSIONS ...] [--service=SERVICE, -s SERVICE] [GCLOUD_WIDE_FLAG ...]
(BETA) You cannot delete a version of a service that is currently
- VERSIONS [VERSIONS ...]
The versions to delete (optionally filtered by the --service flag).
- --service=SERVICE, -s SERVICE
If specified, only delete versions from the given service.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
To delete a specific version of a specific service, run:
- $ gcloud beta app versions delete --service myService v1
To delete a named version across all services, run:
- $ gcloud beta app versions delete v1
To delete multiple versions of a specific service, run:
- $ gcloud beta app versions delete --service myService v1 v2
To delete multiple named versions across all services, run:
- $ gcloud beta app versions delete v1 v2
This command is currently in BETA and may change without notice. This variant is also available:
- $ gcloud app versions delete