gcloud alpha apigee apis delete

NAME
gcloud alpha apigee apis delete - delete an Apigee API proxy
SYNOPSIS
gcloud alpha apigee apis delete (API : --organization=ORGANIZATION) [GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Delete an Apigee API proxy.

gcloud alpha 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 alpha 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 alpha apigee apis delete my-proxy

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

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

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

gcloud alpha 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 alpha 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 alpha 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 alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. This variant is also available:
gcloud beta apigee apis delete