gcloud beta apigee apis delete

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 delete deletes 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 my-proxy given that its matching Cloud Platform project has been set in gcloud settings, run:
gcloud beta apigee apis delete my-proxy

To delete an API proxy called my-proxy in an organization called my-org, run:

gcloud beta apigee apis delete my-proxy --organization=my-org

To delete an API proxy called my-proxy without prompting for confirmation, run:

gcloud beta apigee apis delete my-proxy --quiet

To delete an API proxy called my-proxy and print the deleted proxy as a JSON object, run:

gcloud 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 api attribute:

  • provide the argument API on the command line.

This positional argument must be specified if any of the other arguments in this group are specified.

--organization=ORGANIZATION
Apigee organization containing the API proxy. If unspecified, the Cloud Platform project's associated organization will be used.

To set the organization attribute:

  • provide the argument API on the command line with a fully specified name;
  • provide the argument --organization on 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.
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 variant is also available:
gcloud alpha apigee apis delete