v1

latestOpenAPI 3.0.1Apache 2.02026-07-1476137102.3 KB
Machines

Restart Machine

Restart a specific Machine within an app, with an optional timeout parameter.

post/apps/{app_name}/machines/{machine_id}/restart

Path parameters

app_namestring required

Fly App Name

machine_idstring required

Machine ID

Query parameters

timeoutstring

Restart timeout as a Go duration string or number of seconds

signal'SIGHUP' | 'SIGINT' | 'SIGQUIT' | 'SIGKILL' | 'SIGUSR1' | 'SIGUSR2' | 'SIGTERM'

Unix signal name

Response

OK