GET
/
project
/
{project_id}
/
vm
curl --request GET \
  --url https://api.ubicloud.com/project/{project_id}/vm \
  --header 'Authorization: Bearer <token>'
{
  "count": 123,
  "items": [
    {
      "id": "vmhfy8gff8c67hasb0eez2k1pd",
      "ip4": "127.0.0.1",
      "ip4_enabled": true,
      "ip6": "2606:4700:3108::ac42:2835",
      "location": "eu-central-h1",
      "name": "my-vm-name",
      "size": "<string>",
      "state": "<string>",
      "storage_size_gib": 123,
      "unix_user": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

ID of the project

Example:

"pjkkmx0f2vke4h36nk9cm8v8q0"

Query Parameters

start_after
string

Pagination - Start after

page_size
integer
default:
10

Pagination - Page size

order_column
string
default:
id

Pagination - Order column

Response

200
application/json
A list of VMs
count
integer
required
items
object[]
required