---
title: "Trigger a power button in the VM"
method: PUT
path: "/vm.power-button"
---

# Trigger a power button in the VM

`PUT /vm.power-button`

## Response `204`

Power button successfully triggered in the VM

## Other responses

- `404` — The button could not be triggered because it is not created yet
- `405` — The button could not be triggered because it is not booted.

## Changes

> 40 revisions in range; 1 could not be searched.

- **2021-03-31** `74ccae5decad` — 1 info
  - endpoint added
- **2020-04-28** `bf56946c8349` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/kata-containers/apis/cloud-hypervisor-api/changes/vm.power-button/put.md)

---

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