v1

latestOpenAPI 3.1.02026-07-2426068.5 KB

Get Resize Options

Returns the available options the server can resize to.

get/servers/{id}/resize-availability

Path parameters

idstring required

The server ID

Response

200

hostIDinteger
availableboolean
bandwidthCostinteger

Example response

{
  "hostID": 4,
  "region": [
    {
      "name": "Amsterdam",
      "iso": "nl",
      "subregion": {
        "id": "ams1",
        "description": "1",
        "slug": "ams1",
        "unavailableSizes": [
          "nibble-1024"
        ]
      },
      "subregions": [
        {
          "id": "ams1",
          "description": "1",
          "slug": "ams1",
          "unavailableSizes": [
            "nibble-1024"
          ]
        }
      ]
    }
  ],
  "size": [
    {
      "id": "nibble-1024",
      "slug": "Nibble-1024",
      "cpuCount": 1,
      "diskGB": 25,
      "disks": [
        {
          "type": "SSD",
          "count": 1,
          "size": "25",
          "unit": "GB"
        }
      ],
      "memoryMB": 1024,
      "costPerHr": 15,
      "costPerMonth": 10,
      "planType": "standard"
    }
  ],
  "available": true,
  "planTypes": [
    {
      "type": "standard",
      "description": "Fast SSD KVM virtual machines with a mix of compute resources and dedicated memory for a variety of applications.",
      "name": "Standard"
    }
  ]
}