cURL
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" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the project
"pjkkmx0f2vke4h36nk9cm8v8q0"
The Ubicloud location/region
"eu-central-h1"
Postgres database ID or name Resource ID or name
Show child attributes
{ "max_connections": "100" }
{ "max_client_conn": "100" }
Successful response