---
title: "Rebuild Server"
method: POST
path: "/servers/{id}/rebuild"
---

# Rebuild Server

`POST /servers/{id}/rebuild`

Rebuild a server, changing its image.

## Path parameters

- `id` string, required

## Request body

- object
  - `hostImageID` string, required — The id of the new image to use. See [Get Host Create Options](https://developers.bitlaunch.io/reference/view-host-create-options) for more information (CreateOptions.image.version(s).id).
  - `imageDescription` string, required — The description of the new image. See [Get Host Create Options](https://developers.bitlaunch.io/reference/view-host-create-options) for more information (CreateOptions.image.version(s).description).

## Response `200`

200

- unknown

## Other responses

- `400` — 400

---

[API](https://skmtc.dev/bitlaunch/apis/bitlaunch-api.md) · [All operations](https://skmtc.dev/bitlaunch/apis/bitlaunch-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bitlaunch/bitlaunch-api/revisions/b6aec14db2d0/schema)
