Stop one VM: cancel its agents, stop its previews, delete it at Boat.
The emergency stop for one VM; other VMs and crews are not touched, and the crew is not held, so its queued agents may still get a new VM.
POST/api/v1/vms/{id}/stop
Scopecrews
Agents running on it are canceled (not requeued), previews on it are stopped, then the VM is deleted at Boat and waited for (up to the fleet's delete timeout) and its cost is settled once Boat confirms it gone. result says whether that was confirmed; if not, Koidog keeps trying and GET /vms/{id} shows when it is gone. Stopping a VM that already ended answers already_gone. Allowed to anyone who can control crews, as the emergency stop is: it only ends spending. The timeline records the key ID, action and outcome.
Path parameters.
idstringrequired
The VM's id.
Headers.
Idempotency-Keystring
Retry the same request with the same key. Retry rules.
Response.
200 OK · JSON object