- NAME
-
- gcloud apigee apis undeploy - undeploy an Apigee API proxy from an environment
- SYNOPSIS
-
-
gcloud apigee apis undeploy[[REVISION]--api=API--environment=ENVIRONMENT--organization=ORGANIZATION] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Undeploy an Apigee API proxy from an environment.
- EXAMPLES
-
To undeploy an API proxy called
from themy-apienvironment of the active Cloud Platform project, run:testgcloud apigee apis undeploy --environment=test --api=my-apiTo undeploy revision 3 of an
my-apifrom thetestenvironment of the organization named, run:test-orggcloud apigee apis undeploy 3 --organization=test-org --environment=test --api=my-api - POSITIONAL ARGUMENTS
-
-
Revision resource - API proxy revision to be undeployed and environment from
which it should be removed.
Revisions can either be a positive revision number, or the special value
, which will undeploy whatever revision is currently deployed. If revision is unspecified, the default isauto. The arguments in this group can be used to specify the attributes of this resource.auto- [
REVISION] -
ID of the revision or fully qualified identifier for the revision.
To set the
revisionattribute:-
provide the argument
REVISIONon the command line; - leave the argument unspecified for it to be chosen automatically.
-
provide the argument
--api=API-
API proxy to be undeployed. Must currently be deployed. To get a list of
available deployed proxies, run
gcloud apigee deployments list --environment=ENV.To set the
apiattribute:-
provide the argument
REVISIONon the command line with a fully specified name; - leave the argument unspecified for it to be chosen automatically with a fully specified name;
-
provide the argument
--apion the command line.
-
provide the argument
--environment=ENVIRONMENT-
Environment from which to undeploy the API proxy. To get a list of available
environments, run
gcloud apigee environments list.To set the
environmentattribute:-
provide the argument
REVISIONon the command line with a fully specified name; - leave the argument unspecified for it to be chosen automatically with a fully specified name;
-
provide the argument
--environmenton the command line.
-
provide the argument
--organization=ORGANIZATION-
Apigee organization of the proxy and environment.
To set the
organizationattribute:-
provide the argument
REVISIONon the command line with a fully specified name; - leave the argument unspecified for it to be chosen automatically with a fully specified name;
-
provide the argument
--organizationon the command line; - set the property [project] or provide the argument [--project] on the command line, using a Cloud Platform project with an associated Apigee organization.
-
provide the argument
- [
-
Revision resource - API proxy revision to be undeployed and environment from
which it should be removed.
- 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 helpfor details. - NOTES
-
These variants are also available:
gcloud alpha apigee apis undeploygcloud beta apigee apis undeploy
gcloud apigee apis undeploy
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.