GET
/
vm
List VMs
curl --request GET \
  --url https://api.cloud.onidel.com/vm \
  --header 'Authorization: <api-key>'
[
  {
    "id": "c1d45377-b2a9-4407-ab8d-6909c34dfaac",
    "name": "ubuntu-vm-4vcpu-8gb",
    "vcpu": 2,
    "ram": 4096,
    "disk": 40,
    "bw_used": 12.5,
    "main_ipv4": "160.22.79.122",
    "main_ipv6": "2401:a4a0:1:90::1",
    "template": "Ubuntu 24.04 x64 LTS",
    "created_at": "2024-10-04T10:20:22.922772Z",
    "renewed_at": "2024-10-04T10:20:22.922772Z",
    "due_date": "2024-10-04T10:20:22.922772Z",
    "recurring_amount": 5.5,
    "amount_paid": 1.2345,
    "payment_currency": "AUD",
    "billing_cycle": 1,
    "status": "building"
  }
]

Authorizations

Authorization
string
header
required

Provide the value as: Token <your-api-token>

Query Parameters

team_id
string

Team ID that need to be considered for filter. Default team will be used if not provided.

Response

Successful operation

id
string<uuid>
Example:

"c1d45377-b2a9-4407-ab8d-6909c34dfaac"

name
string<string>
Example:

"ubuntu-vm-4vcpu-8gb"

vcpu
integer
Example:

2

ram
integer
Example:

4096

disk
integer
Example:

40

bw_used
number
Example:

12.5

main_ipv4
string<string>
Example:

"160.22.79.122"

main_ipv6
string<string>
Example:

"2401:a4a0:1:90::1"

template
string<string>
Example:

"Ubuntu 24.04 x64 LTS"

created_at
string<datetime>
Example:

"2024-10-04T10:20:22.922772Z"

renewed_at
string<datetime>
Example:

"2024-10-04T10:20:22.922772Z"

due_date
string<datetime>
Example:

"2024-10-04T10:20:22.922772Z"

recurring_amount
number
Example:

5.5

amount_paid
number
Example:

1.2345

payment_currency
string<string>
Example:

"AUD"

billing_cycle
integer
Example:

1

status
enum<string>
Available options:
building,
active,
suspended,
awaiting_payment,
taking_snaphot,
restoring,
terminating,
migrating