Computer Lifecycle
Restart computer
Reboot a running computer.
POST
Restart computer
Reboots a computer in place on the host it is already running on. The disk is untouched; memory and running processes are not.
The computer must have a live host. A
frozen or stopped computer has none, so restarting it returns 500. Use start instead.
Path parameters
string
required
Computer UUID or
instance_id. Both resolve to the same computer.Response
boolean
true when the computer restarted. The response is sent after the reboot completes, not when it is queued.Use cases
- Recover from a hung or unresponsive computer
- Clear temporary files and caches
- Reset the running environment
Example
Response
Errors
A failed restart never asserts that the computer is off. The status is corrected only from a confirmed observation; when the host cannot be reached, the computer keeps the status it had before the call.