database
Modify connection pool
Modifies the connection pool {pool-name} for the Managed Database service {uuid}.
patch/1.3/database/{uuid}/connection-pools/{pool-name}
Request
- Base URL: https://api.upcloud.com
- URL: https://api.upcloud.com/1.3/database/{uuid}/connection-pools/{pool-name}
- Auth: HTTP bearer
Path parameters
uuidstring uuid required
The unique identifier for the integration.
Example:01234567-89ab-cdef-0123-456789abcdef
Service UUID
pool-namestring required
The title of an entity.
Example:my-service
Connection Pool Name
Request body
Example request
{
"database": "defaultdb",
"pool_mode": "session",
"pool_size": 20,
"username": "app-user"
}Response
OK
Example response
{
"connection_uri": "postgresql://user:password@hostname:5432/dbname",
"database": "defaultdb",
"pool_mode": "session",
"pool_name": "pool-2",
"pool_size": 10,
"username": "updamin"
}Changes
No recorded changes to this operation across all 1 revision of this API.