---
title: "reboot instance"
method: PUT
path: "/api/v0/instances/reboot/{id}/"
tags: ["Instances"]
---

# reboot instance

`PUT /api/v0/instances/reboot/{id}/`

Stops and starts a container without losing GPU priority. Updates container status to 'rebooting' and executes docker stop/start commands on the host machine.

CLI Usage: `vastai reboot instance <id>`

## Path parameters

- `id` integer, required

## Response `200`

Instance reboot initiated successfully

- object
  - `success` boolean

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `429` — Too Many Requests

---

[API](https://skmtc.net/vast/apis/vast-ai-api.md) · [All operations](https://skmtc.net/vast/apis/vast-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vast/vast-ai-api/revisions/4ed14f79f796/schema)
