Skip to main content
GET
/
vm
/
disk
/
{id}
Get disk details
curl --request GET \
  --url https://iaas-api.liara.ir/vm/disk/{id} \
  --header 'Authorization: Bearer <token>'
{
  "availableSize": 123,
  "disks": [
    {
      "_id": "<string>",
      "name": "<string>",
      "size": 123,
      "createdAt": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Response

Successful operation

availableSize
number
disks
object[]