Machines
Create Lease
Create a lease for a specific Machine within an app using the details provided in the request body. Machine leases can be used to obtain an exclusive lock on modifying a Machine.
post/apps/{app_name}/machines/{machine_id}/lease
Path parameters
app_namestring required
Fly App Name
machine_idstring required
Machine ID
Headers
fly-machine-lease-noncestring
Existing lease nonce to refresh by ttl, empty or non-existent to create a new lease
Request body
Response
Created