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 uses gRPC 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 the space attribute set, IAM permissions are checked against the Space resource path. To learn more, read the Apigee Spaces Overview.

Authorization requires the following IAM permission on the specified resource name:

  • apigee.proxies.delete

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ApiProxy.

Authorization scopes

Requires the following OAuth scope:

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