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
- Base URLhttps://coasty.ai
- Auth
- API key in header X-API-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Updated lease.
Changes
No recorded changes to this operation across all 1 revision of this API.