Calculate scale cost
POST
https://api.vpsbg.eu/v1/servers/{serverId}/addons/scale/calculateYou can use this endpoint to calculate the cost (when upgrading) or the refund to your balance (when downgrading).
Request
Path Params
serverId
integer
required
Your VPSBG server id
Body Params application/json
microsoft_rds_sal
integer
required
Example:
4
Example
{
"cpanel": "cpanel-pro-30",
"microsoft_rds_sal": 5,
"microsoft_office_sal": 4
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
amount
string
required
amount_with_vat
string
required
Example
{
"amount": "15.33",
"amount_with_vat": "18.40"
}
Last modified: 18 days ago