Increase a PostgreSQL Cluster Storage Size
DBaaS supports increasing the storage size of your cluster in-place, performing the resize operation online without any downtime. To do so, simply issue a PATCH request containing the new storageSize:
Endpoint
Use the following endpoint to increase the storage size of your PostgreSQL cluster:https://api.ionos.com/databases/postgresql/clusters/{clusterId}
Request
curl --include \
--request PATCH \
--user "[email protected]:Mb2.r5oHf-0t" \
--header "Content-Type: application/json" \
--data-binary '{
"metadata": {},
"properties": {
"storageSize": 50000
}
}' \
https://api.ionos.com/databases/postgresql/clusters/498ae72f-411f-11eb-9d07-046c59cc737eResponse
Caution: Decreasing the storage size is not supported.
Last updated
Was this helpful?