gcloud beta app versions delete

NAME
gcloud beta app versions delete - delete a specified version
SYNOPSIS
gcloud beta app versions deleteVERSIONS[VERSIONS …][--service=SERVICE,-sSERVICE][GCLOUD_WIDE_FLAG]
DESCRIPTION
(BETA) You cannot delete a version of a service that is currentlyreceiving traffic.
EXAMPLES
To delete a specific version of a specific service, run:
gcloudbetaappversionsdelete--service=myServicev1

To delete a named version across all services, run:

gcloudbetaappversionsdeletev1

To delete multiple versions of a specific service, run:

gcloudbetaappversionsdelete--service=myServicev1v2

To delete multiple named versions across all services, run:

gcloudbetaappversionsdeletev1v2
POSITIONAL ARGUMENTS
VERSIONS [VERSIONS …]
The versions to delete (optionally filtered by the --service flag).
FLAGS
--service=SERVICE,-sSERVICE
If specified, only delete versions from the given service.
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 beta and might change without notice. This variantis also available:
gcloudappversionsdelete

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.