Skip to main content
DELETE
Destroy a deployment, stopping the machine and releasing all associated resources.

Path Parameters

string
required
The deployment ID to destroy (e.g., dep_abc123xyz)

Response

string
The destroyed deployment ID
string
Always destroyed
string
Success message
Only deployments in queued, ready, or failed state can be destroyed. Deployments that are currently building or deploying must complete first.