Method: projects.locations.apis.deployments.delete

Removes a specified deployment, all revisions, and all child resources (e.g., artifacts).

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the deployment to delete. Format: projects/*/locations/*/apis/*/deployments/*

Query parameters

Parameters
force

boolean

If set to true, any child resources will also be deleted. (Otherwise, the request will only work if there are no child resources.)

Request body

The request body must be empty.

Response body

If successful, the response body is empty.

Authorization Scopes

Requires the following OAuth scope:

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