curl --request PATCH \
--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"
}
}
curl --request PATCH \
--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.
ID of the project
"pjkkmx0f2vke4h36nk9cm8v8q0"
The Ubicloud location/region
"eu-central-h1"
Postgres database ID or name
Successful response
The response is of type object
.