Skip to main content
POST
Validate PostgreSQL configuration

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 ID

region_id
integer
required

Region ID

Body

application/json
pg_conf
string
required

PostgreSQL configuration

Example:

"\nlisten_addresses = 'localhost'\nport = 5432\nmax_connections = 100\nshared_buffers = 128MB\nlogging_collector = on"

version
string
required

PostgreSQL version

Example:

"15"

Response

200 - application/json

OK

errors
string[]
required

Errors list

is_valid
boolean
required

Validity of pg.conf file

Examples:

true

false