Fly.io
Machines

Release Lease

View as Markdown

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

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

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

Authorization

bearerAuth
AuthorizationBearer <token>

A Fly.io access token. Create one with fly tokens create.

In: header

Path Parameters

app_name*string

Fly App Name

machine_id*string

Machine ID

Header Parameters

fly-machine-lease-nonce*string

Existing lease nonce

Response Body

curl -X DELETE "https://example.com/apps/string/machines/string/lease" \  -H "fly-machine-lease-nonce: string"
Empty