Method: organizations.apis.revisions.delete

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

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. API proxy revision in the following format: organizations/{org}/apis/{api}/revisions/{rev}

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

  • apigee.proxyrevisions.delete

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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