Skip to main content
POST
Restart Machine

Authorizations

Authorization
string
header
required

A Fly API token with access to the requested organization or resource. Send it as Authorization: Bearer <Fly API token>.

Path Parameters

app_name
string
required

Fly App Name

machine_id
string
required

Machine ID

Query Parameters

timeout
string

Restart timeout as a Go duration string or number of seconds

signal
enum<string>

Unix signal name

Available options:
SIGHUP,
SIGINT,
SIGQUIT,
SIGKILL,
SIGUSR1,
SIGUSR2,
SIGTERM

Response

OK

ok
boolean

Always true.