Destroy Machine
Delete a specific Machine within an app by Machine ID, with an optional force parameter to force kill the Machine if it's running.
Delete a specific Machine within an app by Machine ID, with an optional force parameter to force kill the Machine if it's running.
Authorization
bearerAuth A Fly.io access token. Create one with fly tokens create.
In: header
Path Parameters
Fly App Name
Machine ID
Query Parameters
Force kill the machine if it's running
Response Body
curl -X DELETE "https://example.com/apps/string/machines/string"Update Machine POST
Update a Machine's configuration using the details provided in the request body.
Cordon Machine POST
“Cordoning” a Machine refers to disabling its services, so the Fly Proxy won’t route requests to it. In flyctl this is used by blue/green deployments; one set of Machines is started up with services disabled, and when they are all healthy, the services are enabled on the new Machines and disabled on the old ones.