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.

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