> For the complete documentation index, see [llms.txt](https://cloudblast.gitbook.io/cloudblast-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cloudblast.gitbook.io/cloudblast-api/api-endpoints/reinstall-server.md).

# /reinstall-server

## Reinstall a VM

<mark style="color:green;">`POST`</mark> [`http://console.cloudblast.io/api/public/reinstall-server`](http://cloudblast.local/api/public/reinstall-server)

This endpoint allows users to reinstall a new virtual private server (VPS) on the Cloudblast platform.

**Body**

| Name            | Type   | Description                                                     |
| --------------- | ------ | --------------------------------------------------------------- |
| `authKey`       | string | Your API Key                                                    |
| `server_id`     | int    | ID of the server                                                |
| `template_uuid` | string | ID of the OS ([List Here](/cloudblast-api/id-lists/os-list.md)) |

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
    "result": true,
    "message": "Server reinstallation initiated successfully.",
    "password": "3ae02aed3c891e63"
}
```

{% endtab %}

{% tab title="400" %}

```json
{
  "error": "Invalid request"
}
```

{% endtab %}
{% endtabs %}
