v1

latestOpenAPI 3.1.0MIT2026-08-0481194343.8 KB
machines

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.

machine_idstring required
ttl_minutesinteger nullable required
auto_destroy_atstring date-time nullable required
request_idstring required