---
title: "Restore a VM from a snapshot."
method: PUT
path: "/vm.restore"
---

# Restore a VM from a snapshot.

`PUT /vm.restore`

## Request body

- RestoreConfig
  - `source_url` string, required
  - `prefault` boolean

## Response `204`

The VM instance was successfully restored.

## Other responses

- `404` — The VM instance could not be restored because it is already created.

---

[API](https://skmtc.dev/kata-containers/apis/cloud-hypervisor-api.md) · [All operations](https://skmtc.dev/kata-containers/apis/cloud-hypervisor-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kata-containers/cloud-hypervisor-api/revisions/c30c01a9fb80/schema)
