POST /dashboard/services/{id}/upgrade-vps

Upgrade VPS resources

Creates an invoice to upgrade individual VPS resources (memory, storage, cores, IPs, uplink).

Parameters

NameTypeInDescription
id*
integerpathThe service ID

Request Body

memoryinteger

Additional memory in GB (max total 128GB)

storageinteger

Additional storage in GB (max total 1000GB)

coresinteger

Additional CPU cores (max total 16)

ipv4integer

Additional IPv4 addresses (max total 128)

ipv6integer

Additional IPv6 addresses (max total 128)

uplinkstring

Uplink speed upgrade

1gbit5gbit10gbit

Response

200
400
successboolean
dataobject
invoice_idinteger

Request

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

Response

{
  "success": true,
  "data": {
    "invoice_id": 12347
  }
}