Skip to main content
GET
/
project
/
{project_id}
/
location
/
{location}
/
vm
List VMs in a specific location of a project
curl --request GET \
  --url https://api.ubicloud.com/project/{project_id}/location/{location}/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

Path Parameters

location
string
required
Example:
project_id
string
required
Example:

Query Parameters

start_after
string
page_size
integer
default:10
order_column
string
default:id

Response

count
integer
required
items
object[]
required