Skip to main content
POST
/
vm
/
disk
/
{id}
Create a new disk for a VM
curl --request POST \
  --url https://iaas-api.liara.ir/vm/disk/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "size": 123
}'
This response has no body data.

Documentation Index

Fetch the complete documentation index at: https://developers.liara.ir/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json
size
number

Response