Change plan
Upgrade or downgrade a server's resources.
PATCH/api/application/servers/{externalId}
Moves the server to another plan and applies its memory, CPU, disk, backup and port limits straight away. The server stays on its node.
curl -X PATCH https://panel.example.com/api/application/servers/whmcs-1042 \
-H "Authorization: Bearer bpnl_..." \
-H "Content-Type: application/json" \
-d '{ "planId": "01JBX2R5K7M9P1R3T5V7X9Z1B3" }'| Field | Type | Required | Description |
|---|---|---|---|
planId | string | Yes | The new plan, from the catalog. |
Returns 200 OK with the updated server object.
Before downgrading, check that the server's files fit in the new plan's disk.