Skip to main content
POST
/
v1
/
databases
/
{id}
/
resize
Resize a database
curl --request POST \
  --url https://api.iran.liara.ir/v1/databases/{id}/resize \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "planID": "<string>",
  "disk": true
}
'
This response has no body data.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json
planID
string
required
disk
boolean

Response