Plan change options
get_upgrade_optionsList the plans this VPS can switch to IN PLACE with its data kept: bigger plans of the same network type (resize: more vCPU/RAM/disk), NAT → dedicated IPv4 (convert: adds a public IP) or dedicated → the equivalent NAT plan (convert_to_nat: drops the IP, the unused price difference is refunded to the balance). Each option: product_id, name, monthly, prorated_topup (charged now for the rest of the current period), mode. Shrinking vCPU/RAM/disk is not possible (a disk cannot be reduced). The server must be active. Options come grouped by line (same = a bigger plan on the same network, to_ip, to_nat). Every option can be ordered; capacity_now: false (with wait_reason capacity | no_ip) means the server's host has no free room or IPv4 for it right now — change_plan then charges as usual and the upgrade is applied automatically from the queue, usually within 24 hours (the server is never moved to another host). pending_upgrade is set (and options empty) when an upgrade is already paid and waiting. unused_credit is the value of the unused time on the current plan, new_cost the new plan for the same time; prorated_topup = new_cost − unused_credit, which is what change_plan charges. Requires: token, server active.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service_id | No | Optional. Service code as returned by list_vps/order_vps, e.g. "68J67T5" (a plain numeric id is also accepted). |