Method: organizations.apis.delete

Deletes an API proxy and all associated endpoints, policies, resources, and revisions. The API proxy must be undeployed before you can delete it.

HTTP request

DELETE https://apigee.googleapis.com/v1/{name=organizations/*/apis/*}

The URL usesgRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of the API proxy in the following format:organizations/{org}/apis/{api}

If the API Proxy resource has thespace attribute set, IAM permissions are checked against the Space resource path. To learn more, read theApigee Spaces Overview.

Authorization requires the followingIAM permission on the specified resourcename:

  • apigee.proxies.delete

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance ofApiProxy.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

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 2026-02-19 UTC.