Delete a deployment
Stops a running deployment and marks it for deletion. If the deployment is already in a terminal state (stopped or failed), returns immediately.
DELETE
/deployments/{id}Stops a running deployment and marks it for deletion. If the deployment is already in a terminal state (stopped or failed), returns immediately.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Deployment ID
Response
Deployment deleted successfully
no response body.
curl -X DELETE "https://example.com/deployments/string"Empty
{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}