Scale a server
POST
https://api.vpsbg.eu/v1/servers/{id}/scaleYou can use this endpoint to scale (upgrade or downgrade) your server. If you previously upscaled your server without a disk upgrade, then you can use this method to bring your disk size to the plan's disk limit by sending the same plan and scale_disk - true.
Request
Path Params
id
integerย
required
Your VPSBG server's ID.
Body Params application/json
plan
stringย
required
The plan's key you want to scale to.
scale_disk
booleanย
required
You have the option to scale the other plan's parameters but disk. This allows you to downgrade later if you plan to make this scale temporarily.
Example
{
"plan": "cloud-vps-2gb",
"scale_disk": false
}
Request samples
Responses
Success(204)
HTTP Code:ย 204
Content Type :ย Rawtext/plain
Example
Not configured
Last modified: 10 days ago