- 👋 Hello
- API Introduction
- API Reference
- User
- Balance
- Affiliate
- Invoices
- Support
- SSH Keys
- Servers
- Scale
- Addons
- Rescue
- List plansGET
- List serversGET
- Server statusGET
- Get a serverGET
- Server metricsGET
- BandwidthGET
- Deploy new serverPOST
- Start a serverPOST
- Restart a serverPOST
- Stop a serverPOST
- Power offPOST
- Cancel serverPOST
- Undo cancel requestDELETE
- Change passwordPUT
- Update hostnamePUT
- Update SSH KeysPATCH
- Modify ISOsPOST
- RestorePOST
- Renew serverPOST
- Reinstall ServerPOST
- Change Primary IPPOST
- Calculate renew amountPOST
- Plans
- Snapshots
- Backups
- Server Images
- Floating IPs
- IP Addresses
- Network Protection
- Orders
- ISOs
List plans
GET
https://api.vpsbg.eu/v1/servers/{id}/scale
Servers
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
id
integer
required
Header Params
Accept
string
required
Default:
application/json
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.vpsbg.eu/v1/servers//scale' \
--header 'Accept;'
Responses
🟢200List of plans
application/json
Body
data
object (Plan)
required
id
integer
optional
Example:
104
type
string
optional
Example:
cloud-vps
key
string
optional
name
string
optional
Example:
cloud-vps-2gb
vcpus
integer
optional
Example:
2
memory
integer
optional
Example:
2
disk
integer
optional
Example:
50
bandwidth
integer
optional
Example:
5
minimum_billing_cycle
integer
optional
Example:
1
plan_with_more_disk
integer | null
optional
plan_with_more_memory
integer | null
optional
available
boolean
optional
price
number
optional
Example:
100
price_with_vat
number
optional
Example:
120
Example
{
"data": [
{
"id": 117,
"type": "vds",
"name": "vds-8gb-s",
"vcpus": 2,
"memory": 8,
"disk": 100,
"bandwidth": 10,
"minimum_billing_cycle": 1,
"available": true,
"price": 100,
"price_with_vat": 120
},
{
"id": 116,
"type": "vds",
"name": "vds-8gb",
"vcpus": 2,
"memory": 8,
"disk": 50,
"bandwidth": 10,
"minimum_billing_cycle": 1,
"available": true,
"price": 110,
"price_with_vat": 132
},
{
"id": 118,
"type": "vds",
"name": "vds-16gb",
"vcpus": 4,
"memory": 16,
"disk": 100,
"bandwidth": 20,
"minimum_billing_cycle": 1,
"available": true,
"price": 150,
"price_with_vat": 180
},
{
"id": 119,
"type": "vds",
"name": "vds-16gb-s",
"vcpus": 4,
"memory": 16,
"disk": 200,
"bandwidth": 20,
"minimum_billing_cycle": 1,
"available": true,
"price": 180,
"price_with_vat": 216
},
{
"id": 120,
"type": "vds",
"name": "vds-32gb",
"vcpus": 8,
"memory": 32,
"disk": 200,
"bandwidth": 30,
"minimum_billing_cycle": 1,
"available": true,
"price": 300,
"price_with_vat": 360
},
{
"id": 121,
"type": "vds",
"name": "vds-32gb-s",
"vcpus": 8,
"memory": 32,
"disk": 400,
"bandwidth": 30,
"minimum_billing_cycle": 1,
"available": true,
"price": 360,
"price_with_vat": 432
},
{
"id": 122,
"type": "vds",
"name": "vds-64gb",
"vcpus": 16,
"memory": 64,
"disk": 400,
"bandwidth": 30,
"minimum_billing_cycle": 1,
"available": true,
"price": 600,
"price_with_vat": 720
},
{
"id": 123,
"type": "vds",
"name": "vds-64gb-s",
"vcpus": 16,
"memory": 64,
"disk": 600,
"bandwidth": 30,
"minimum_billing_cycle": 1,
"available": true,
"price": 660,
"price_with_vat": 792
},
{
"id": 124,
"type": "vds",
"name": "vds-96gb",
"vcpus": 24,
"memory": 96,
"disk": 600,
"bandwidth": 30,
"minimum_billing_cycle": 1,
"available": true,
"price": 900,
"price_with_vat": 1080
},
{
"id": 125,
"type": "vds",
"name": "vds-96gb-s",
"vcpus": 24,
"memory": 96,
"disk": 800,
"bandwidth": 30,
"minimum_billing_cycle": 1,
"available": true,
"price": 960,
"price_with_vat": 1152
},
{
"id": 103,
"type": "cloud-vps",
"name": "cloud-vps-2gb",
"vcpus": 2,
"memory": 2,
"disk": 50,
"bandwidth": 5,
"minimum_billing_cycle": 1,
"available": true,
"price": 25,
"price_with_vat": 30
},
{
"id": 104,
"type": "cloud-vps",
"name": "cloud-vps-4gb",
"vcpus": 2,
"memory": 4,
"disk": 60,
"bandwidth": 5,
"minimum_billing_cycle": 1,
"available": true,
"price": 39,
"price_with_vat": 46.8
},
{
"id": 105,
"type": "cloud-vps",
"name": "cloud-vps-8gb",
"vcpus": 4,
"memory": 8,
"disk": 80,
"bandwidth": 10,
"minimum_billing_cycle": 1,
"available": true,
"price": 78,
"price_with_vat": 93.6
},
{
"id": 106,
"type": "cloud-vps",
"name": "cloud-vps-16gb",
"vcpus": 4,
"memory": 16,
"disk": 100,
"bandwidth": 20,
"minimum_billing_cycle": 1,
"available": true,
"price": 120,
"price_with_vat": 144
},
{
"id": 140,
"type": "cloud-vps",
"name": "cloud-vps-2gb-s",
"vcpus": 2,
"memory": 2,
"disk": 100,
"bandwidth": 5,
"minimum_billing_cycle": 1,
"available": true,
"price": 127,
"price_with_vat": 152.4
},
{
"id": 107,
"type": "cloud-vps",
"name": "cloud-vps-16gb-s",
"vcpus": 4,
"memory": 16,
"disk": 200,
"bandwidth": 20,
"minimum_billing_cycle": 1,
"available": true,
"price": 150,
"price_with_vat": 180
},
{
"id": 108,
"type": "cloud-vps",
"name": "cloud-vps-32gb",
"vcpus": 8,
"memory": 32,
"disk": 200,
"bandwidth": 30,
"minimum_billing_cycle": 1,
"available": true,
"price": 240,
"price_with_vat": 288
},
{
"id": 109,
"type": "cloud-vps",
"name": "cloud-vps-32gb-s",
"vcpus": 8,
"memory": 32,
"disk": 400,
"bandwidth": 30,
"minimum_billing_cycle": 1,
"available": true,
"price": 300,
"price_with_vat": 360
},
{
"id": 110,
"type": "cloud-vps",
"name": "cloud-vps-64gb",
"vcpus": 16,
"memory": 64,
"disk": 400,
"bandwidth": 30,
"minimum_billing_cycle": 1,
"available": true,
"price": 480,
"price_with_vat": 576
},
{
"id": 111,
"type": "cloud-vps",
"name": "cloud-vps-64gb-s",
"vcpus": 16,
"memory": 64,
"disk": 600,
"bandwidth": 30,
"minimum_billing_cycle": 1,
"available": true,
"price": 540,
"price_with_vat": 648
},
{
"id": 112,
"type": "cloud-vps",
"name": "cloud-vps-96gb",
"vcpus": 24,
"memory": 96,
"disk": 600,
"bandwidth": 30,
"minimum_billing_cycle": 1,
"available": true,
"price": 720,
"price_with_vat": 864
},
{
"id": 113,
"type": "cloud-vps",
"name": "cloud-vps-96gb-s",
"vcpus": 24,
"memory": 96,
"disk": 800,
"bandwidth": 30,
"minimum_billing_cycle": 1,
"available": true,
"price": 780,
"price_with_vat": 936
},
{
"id": 114,
"type": "cloud-vps",
"name": "cloud-vps-128gb",
"vcpus": 24,
"memory": 128,
"disk": 800,
"bandwidth": 30,
"minimum_billing_cycle": 1,
"available": true,
"price": 960,
"price_with_vat": 1152
},
{
"id": 115,
"type": "cloud-vps",
"name": "cloud-vps-128gb-s",
"vcpus": 24,
"memory": 128,
"disk": 1600,
"bandwidth": 30,
"minimum_billing_cycle": 1,
"available": true,
"price": 1200,
"price_with_vat": 1440
},
{
"id": 136,
"type": "ram-optimized",
"name": "ram-optimized-16gb",
"vcpus": 2,
"memory": 16,
"disk": 50,
"bandwidth": 10,
"minimum_billing_cycle": 1,
"available": true,
"price": 75,
"price_with_vat": 90
},
{
"id": 142,
"type": "ram-optimized",
"name": "ram-optimized-16gb-s",
"vcpus": 2,
"memory": 16,
"disk": 100,
"bandwidth": 10,
"minimum_billing_cycle": 1,
"available": true,
"price": 75,
"price_with_vat": 90
},
{
"id": 141,
"type": "storage-optimized",
"name": "vds-8gb-s",
"vcpus": 2,
"memory": 8,
"disk": 300,
"bandwidth": 10,
"minimum_billing_cycle": 1,
"available": true,
"price": 75,
"price_with_vat": 90
}
]
}
🔴500Server Error
Modified at 2024-11-08 12:34:43