v1
latestOpenAPI 3.1.0MIT2026-08-0481194343.8 KBmachines
Set, extend, or clear a machine resource-expiry lease
Scope: machines:write. ttl_minutes=0 clears expiry; values 5..10080 schedule expiry from now. Expiry destroys managed infrastructure. For an external machine it deletes only the Coasty registration and revokes device access/leases; caller-owned host and storage remain untouched.
patch/v1/machines/{machine_id}
Request body
Response
Updated lease.