---
title: "Remove a device from the VM"
method: PUT
path: "/vm.remove-device"
---

# Remove a device from the VM

`PUT /vm.remove-device`

## Request body

- VmRemoveDevice
  - `id` string

## Response `204`

The device was successfully removed from the VM instance.

## Other responses

- `404` — The device could not be removed from the VM instance.

---

[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)
