Skip to content

Reinstall server

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

Reinstalls the operating system on the dedicated server with the specified configuration.

Parameters

Path Parameters

id
required
integer

The service ID of the dedicated server

Request Body required

object
os
required

Operating system to install

string
ubuntu
os_version
required

Operating system version

string
24.04
password
required

Root/administrator password for the new installation

string
SecurePassword123!
ssh_keys

Array of SSH key IDs to install on the server

Array<integer>
[
1,
2,
3
]

Responses

200

Server reinstall initiated successfully

object
success
boolean
true

400

Invalid request parameters

object
success
boolean
error

Error message describing what went wrong

string
statusCode

HTTP status code

integer

403

Service is not active or user does not have access

object
success
boolean
error

Error message describing what went wrong

string
statusCode

HTTP status code

integer

404

Service not found

object
success
boolean
error

Error message describing what went wrong

string
statusCode

HTTP status code

integer