Skip to main content
POST
/
v1
/
projects
/
{name}
/
disks
/
{dname}
/
resize
Resize disk
curl --request POST \
  --url https://api.iran.liara.ir/v1/projects/{name}/disks/{dname}/resize \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "size": "<string>"
}
'
This response has no body data.

Authorizations

Authorization
string
header
required

Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345". #

Path Parameters

name
string
required

The name of your app

dname
string
required

The name of your disk

Body

application/json

The size of your disk

size
string
required

Response