POST
/
project
/
{project_id}
/
location
/
{location}
/
postgres
/
{postgres_database_reference}
/
config
curl --request POST \
  --url https://api.ubicloud.com/project/{project_id}/location/{location}/postgres/{postgres_database_reference}/config \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "pg_config": {
    "max_connections": "100"
  },
  "pgbouncer_config": {
    "max_client_conn": "100"
  }
}'
{
  "pg_config": {
    "max_connections": "100"
  },
  "pgbouncer_config": {
    "max_client_conn": "100"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

ID of the project

Example:

"pjkkmx0f2vke4h36nk9cm8v8q0"

location
string
required

The Ubicloud location/region

Example:

"eu-central-h1"

postgres_database_reference
string
required

Postgres database ID or name

Body

application/json

Response

200
application/json

Successful response

The response is of type object.