*This page
applies to **Apigee** and **Apigee hybrid**.*


*View [Apigee Edge](https://docs.apigee.com/api-platform/get-started/what-apigee-edge) documentation.*
![](https://fonts.gstatic.com/s/i/googlematerialicons/help/v13/gm_grey-24dp/1x/gm_help_gm_grey_24dp.png)

> [!NOTE]
> **More Information**   
>
> For more information, see:
>
> - [Best practices for API proxy design and development](https://docs.cloud.google.com/apigee/docs/api-platform/fundamentals/best-practices-api-proxy-design-and-development.md.txt)

When you delete an API proxy, Apigee
removes that API proxy and undeploys it from the cluster.

Deleting an API proxy is similar to [undeploying an API proxy](https://docs.cloud.google.com/apigee/docs/api-platform/deploy/ui-undeploy.md.txt),
except that you can return to edit the revision that you undeploy. If you delete the API proxy, it is no
longer available to edit.

### Apigee UI

To delete an API proxy using the Apigee UI:

1. In the Google Cloud console, go to the **Apigee \> Proxy development \> API proxies** page.

   [Go to API proxies](https://console.cloud.google.com/apigee/proxies)
2. In the row for the proxy you want to delete, under **Actions** , click **Delete**.
3. In the confirmation dialog, click **Delete**.

### Apigee API

Delete an API proxy in your Apigee organization by issuing a DELETE request to the following
resource:

```
https://apigee.googleapis.com/v1/organizations/$ORG/apis/$API
```

> [!NOTE]
> **Note:** An API proxy must be [undeployed](https://docs.cloud.google.com/apigee/docs/api-platform/deploy/ui-undeploy.md.txt) before you can delete it.

For example, to delete the helloworld API proxy:

```
curl "https://apigee.googleapis.com/v1/organizations/myorg/apis/helloworld" \
  -X DELETE \
  -H "Authorization: Bearer $TOKEN"
```

Where `$TOKEN` is set to your OAuth 2.0 access token, as described in
[Obtaining an OAuth 2.0 access token](https://docs.cloud.google.com/apigee/docs/api-platform/get-started/api-get-started.md.txt#oauth20). For information about the `curl` options used in this example, see
[Using curl](https://docs.cloud.google.com/apigee/docs/api-platform/get-started/api-get-started.md.txt#curl). For a description of environment variables you can use, see
[Setting
environment variables for Apigee API requests](https://docs.cloud.google.com/apigee/docs/api-platform/get-started/api-get-started#api-environment-variables).

The following provides an example of the response output:

```
{
  "metaData": {
    "createdAt": "1559145292799",
    "lastModifiedAt": "1559145292799",
    "subType": "Proxy"
  },
  "name": "helloworld",
  "revision": [
    "1"
  ]
}
```

For more information, see the [API proxies API](https://docs.cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.apis.md.txt).