Skip to main content
GET
/
cloud
/
v1
/
dbaas
/
postgres
/
configuration
/
{project_id}
/
{region_id}
Get available PostgtreSQL configurations for a region.
curl --request GET \
  --url https://api.gcore.com/cloud/v1/dbaas/postgres/configuration/{project_id}/{region_id} \
  --header 'Authorization: <api-key>'
{
  "flavors": [
    {
      "cpu": 2,
      "memory_gib": 2,
      "pg_conf": "<string>"
    }
  ],
  "storage_classes": [
    {
      "name": "<string>"
    }
  ],
  "versions": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

project_id
integer
required

Project identifier

region_id
integer
required

Region identifier

Response

DBAAS PostgreSQL available configuration

flavors
FlavorConfiguration · object[]
required
storage_classes
StorageClass · object[]
required
versions
string[]
required

Available versions

Example:
["14", "15"]