Deployment Service

Delete a deployment

DELETE
/projects/{projectId}/endpoints/{endpointId}/deployments/{id}

Permanently deletes a deployment from its endpoint. Remove the deployment from live traffic first; use etag to reject the request if it changed after it was read.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

projectId*string

Project identifier.

endpointId*string

Endpoint identifier.

id*string

Deployment identifier.

Query Parameters

etag?string

Etag for optimistic concurrency. If set, the delete is rejected if the current etag does not match.

Response Body

application/json

application/json

curl -X DELETE "https://example.com/projects/string/endpoints/string/deployments/string"
{}