Machines
Restart Machine
Restart a specific Machine within an app, with an optional timeout parameter.
Restart a specific Machine within an app, with an optional timeout parameter.
Authorization
bearerAuth AuthorizationBearer <token>
A Fly.io access token. Create one with fly tokens create.
In: header
Path Parameters
app_name*string
Fly App Name
machine_id*string
Machine ID
Query Parameters
timeout?string
Restart timeout as a Go duration string or number of seconds
signal?string
Unix signal name
Response Body
application/json
curl -X POST "https://example.com/apps/string/machines/string/restart"Empty
{ "details": {}, "error": "string", "status": "unknown"}