---
title: "Hard reboot VM"
method: POST
path: "/api/v1/vms/{id}/reboot-hard"
tags: ["Virtual Machines"]
---

# Hard reboot VM

`POST /api/v1/vms/{id}/reboot-hard`

Force an immediate power-off and restart of a virtual machine, **without** a graceful shutdown.

## When to use

Use this only when a soft reboot (`POST /api/v1/vms/{id}/reboot`) does not work — for example, the VM is hung and not responding to OS-level signals.

## Risks

- **Unsaved data may be lost.** Filesystems and applications cannot flush state before power-off.
- **Filesystem corruption is possible.** Hard power-off skips clean unmount.

Prefer the standard reboot whenever the VM is responsive.

## Path parameters

- `id` string, uuid, required

## Headers

- `X-Project-ID` string, uuid, required

## Response `200`

Hard reboot initiated

- SuccessResponse
  - `success` boolean
  - `message` string

## Other responses

- `400` — X-Project-ID header is required for this endpoint
- `401` — Authentication required
- `404` — Resource not found

---

[API](https://skmtc.net/rafftechnologies/apis/raff-api.md) · [All operations](https://skmtc.net/rafftechnologies/apis/raff-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rafftechnologies/raff-api/versions/a3f123570011/schema)
