- NAME
-
- gcloud beta apigee apis delete - delete an Apigee API proxy
- SYNOPSIS
-
-
gcloud beta apigee apis delete(API:--organization=ORGANIZATION) [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(BETA)Delete an Apigee API proxy.gcloud beta apigee apis deletedeletes an API proxy and all of its revisions.The API proxy must not have any deployed revisions. To undeploy a revision, run
gcloud beta apigee apis undeploy. Deleting an API proxy cannot be undone. - EXAMPLES
-
To delete an API proxy called
given that its matching Cloud Platform project has been set in gcloud settings, run:my-proxygcloud beta apigee apis delete my-proxyTo delete an API proxy called
in an organization calledmy-proxy, run:my-orggcloud beta apigee apis delete my-proxy --organization=my-orgTo delete an API proxy called
without prompting for confirmation, run:my-proxygcloud beta apigee apis delete my-proxy --quietTo delete an API proxy called
and print the deleted proxy as a JSON object, run:my-proxygcloud beta apigee apis delete my-proxy --format=json - POSITIONAL ARGUMENTS
-
-
API proxy resource - API proxy to be deleted. To get a list of available API
proxies, run
gcloud beta apigee apis list. The arguments in this group can be used to specify the attributes of this resource.This must be specified.
API-
ID of the API proxy or fully qualified identifier for the API proxy.
To set the
apiattribute:-
provide the argument
APIon the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
-
provide the argument
--organization=ORGANIZATION-
Apigee organization containing the API proxy. If unspecified, the Cloud Platform
project's associated organization will be used.
To set the
organizationattribute:-
provide the argument
APIon the command line 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
-
API proxy resource - API proxy to be deleted. To get a list of available API
proxies, run
- 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
-
This command is currently in beta and might change without notice. This variant
is also available:
gcloud alpha apigee apis delete
gcloud beta apigee apis delete
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 2026-09-09 UTC.
[null,null,["Last updated 2026-09-09 UTC."],[],[]]