Skip to content

Delete Deployment

DELETE
/deployments/{deployment_id}
curl --request DELETE \
--url https://api.mengi.cloud/deployments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0

Delete a deployment.

Deletion is asynchronous: this marks the deployment as deleting and returns immediately, while the worker removes the resources from the cluster and then drops the record. Until then the deployment stays listed with status deleting. Deployments in that state do not block deleting their cluster.

deployment_id
required
Deployment Id
string format: uuid

Successful Response

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object

Example generated

{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}