Cloud Panel

List images

GET/api/v1/vm-templates

The systems a server can be created or reinstalled with.

Parameters

NameInDescription
include_inactivequery, booleanInclude deactivated templates. Default false (only selectable templates, for VM creation). Set true for display/name resolution of existing VMs whose template was later deactivated.

Example request

curl -X GET "https://platform.serverscamp.com/api/v1/vm-templates" \
  -H "Authorization: Bearer $API_TOKEN"

Answer

Status 200 with this body.

FieldTypeDescription
itemslist of VmImagerequired
items[].idintegerrequiredImage id, for vm_template_id in Create a VM and Reinstall
items[].namestringrequiredName, for example Ubuntu 26.04 LTS
items[].os_typestring, optionalUbuntu, Debian, Rocky and so on
items[].os_familystring, optionalLinux
items[].versionstring, optionalVersion of the system
totalintegerrequired
{
  "items": [
    {
      "id": 5,
      "name": "Ubuntu 26.04 LTS",
      "os_type": "Ubuntu",
      "os_family": "linux",
      "version": "26.04"
    },
    {
      "id": 3,
      "name": "Debian 13",
      "os_type": "Debian",
      "os_family": "linux",
      "version": "13"
    }
  ],
  "total": 2
}

Errors

StatusWhen
401No token, or a token that is not valid
422The body or a parameter is not what the operation takes

Every operation can also answer 401 without a valid token. All errors