v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-131843102.5 KB
deployments

Cancels and removes the preview currently associated with the deployment.

post/deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/cancelPreview

Path parameters

projectstring required

The project ID for this request.

deploymentstring required

The name of the deployment for this request.

Request body

fingerprintstring byte

Specifies a fingerprint for cancelPreview() requests. A fingerprint is a randomly generated value that must be provided in cancelPreview() requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to cancel a preview, this would prevent one of the requests). The fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a get() request on the deployment.

Response

Successful response