Method: projects.locations.apis.deployments.deleteRevision

Deletes a revision of a deployment.

HTTP request

DELETE https://apigeeregistry.googleapis.com/v1/{name=projects/*/locations/*/apis/*/deployments/*}:deleteRevision

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the deployment revision to be deleted, with a revision ID explicitly included.

Example: projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8

Request body

The request body must be empty.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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