---
title: "Reinstall OS (destructive)"
method: POST
path: "/v1/vps/{service_id}/reinstall"
tags: ["VPS"]
---

# Reinstall OS (destructive)

`POST /v1/vps/{service_id}/reinstall`

## Request

- Base URL: `https://developers.servera.lt`
- URL: `https://developers.servera.lt/v1/vps/{service_id}/reinstall`
- Auth: HTTP bearer

⚠️ Wipe the VPS/VDS and reinstall the chosen OS. **Irreversible - all data is lost.**
Requires `confirm: true`. Runs asynchronously; poll `GET /reinstall-status`.

## Path parameters

- `service_id` integer, required

## Request body

- ReinstallRequest
  - `template_id` integer, required
  - `confirm` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/servera/apis/servera-developers-api-2.md) · [All operations](https://skmtc.dev/servera/apis/servera-developers-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/servera/apis/servera-developers-api-2/revisions/2e744791e77f?raw)
