v2

latestOpenAPI 3.0.1Apache 2.02026-07-2698173135.4 KB
Machines

Get Lease

Retrieve the current lease of a specific Machine within an app. Machine leases can be used to obtain an exclusive lock on modifying a Machine.

get/apps/{app_name}/machines/{machine_id}/lease

Path parameters

app_namestring required

Fly App Name

machine_idstring required

Machine ID

Response

OK

descriptionstring

Description or reason for the Lease.

expires_atinteger

ExpiresAt is the unix timestamp in UTC to denote when the Lease will no longer be valid.

noncestring

Nonce is the unique ID autogenerated and associated with the Lease.

ownerstring

Owner is the user identifier which acquired the Lease.

versionstring

Machine version