Skip to main content
GET
/
vm
Get all vms
curl --request GET \
  --url https://iaas-api.liara.ir/vm \
  --header 'Authorization: Bearer <token>'
{
  "vms": [
    {
      "_id": "<string>",
      "plan": "<string>",
      "OS": "<string>",
      "state": "CREATED",
      "name": "<string>",
      "createdAt": "<string>",
      "power": "POWERED_ON"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Response

Successful operation

vms
object[]