Skip to main content
POST
Stop 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

Body

application/json

Optional request body

signal
enum<string>
Available options:
SIGHUP,
SIGINT,
SIGQUIT,
SIGKILL,
SIGUSR1,
SIGUSR2,
SIGTERM
Example:

"SIGTERM"

timeout
string
Example:

"1s"

Response

OK

ok
boolean