---
title: "Change an instance's power state"
method: POST
path: "/v1/instances/{id}/power"
tags: ["public", "instances"]
---

# Change an instance's power state

`POST /v1/instances/{id}/power`

## Request

- Base URL: `https://api.vozora.io`
- URL: `https://api.vozora.io/v1/instances/{id}/power`
- Auth: API key in header `Authorization`

Accepted actions are start, stop and restart. A stop may set force to skip the guest shutdown. The call is accepted asynchronously; poll the instance to observe the new state.

## Path parameters

- `id` string, required

## Request body

- ProvisioningPowerRequest
  - `action` string
  - `force` boolean

## Response `202`

Accepted

- ProvisioningPublicAcceptedResponse
  - `status` string

## Other responses

- `400`: unknown action or invalid payload
- `401`: invalid or missing API key
- `403`: the key lacks instances:write
- `404`: no such instance
- `409`: illegal_transition — the instance is not in a state that allows this action

---

[API](https://skmtc.dev/vozora/apis/vozora-api.md) · [All operations](https://skmtc.dev/vozora/apis/vozora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vozora/apis/vozora-api/revisions/56f15734fc5a?raw)
