Skip to main content
POST
Reinstall VPS instance by ID

Authorizations

Authorization
string
header
required

An API key from the Storiza dashboard (API & Integrations), sent as Authorization: Bearer stz_….

Path Parameters

vmId
string<uuid>
required

Body

application/json
templateId
string
hostname
string
Required string length: 1 - 63
Pattern: ^[a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?$
templateImageSlug
string
Minimum string length: 1
inputs
object
sshKeyId
string<uuid> | null
vmPassword
string | null
Required string length: 8 - 64
Pattern: ^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^A-Za-z0-9])

Response

VPS reinstall process has been initiated

success
enum<boolean>
required
Available options:
true
message
enum<string>
required
Available options:
VPS reinstall process has been initiated
data
object
required