v1

latestOpenAPI 3.0.1Apache 2.02026-07-1476137102.3 KB
Machines

Execute Command

Execute a command on a specific Machine and return the raw command output bytes.

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

Path parameters

app_namestring required

Fly App Name

machine_idstring required

Machine ID

Request body

cmdstring

Deprecated: use Command instead

commandstring[]
containerstring
stdinstring
timeoutinteger

Response

stdout, stderr, exit code, and exit signal are returned

exit_codeinteger
exit_signalinteger
stderrstring
stdoutstring