POST /dashboard/service/{id}/vps/reinstall

Reinstall VPS

Reinstall the operating system on the VPS.

Parameters

NameTypeInDescription
id*
integerpathThe service ID of the VPS.

Request Body

osstringRequired

Operating system to install

ubuntudebiancentosfedoraalmarockywindowsfreebsd
os_versionstringRequired

Operating system version

passwordstringRequired

Root password for the new installation

Response

200
400
403
404
successboolean

Request

curl -X POST "https://api.royalehosting.net/dashboard/service/{id}/vps/reinstall" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "x-organization-id: YOUR_ORG_ID" \
  -H "Content-Type: application/json" \
  -d '{}'

Response

{
  "success": true
}