database
Create connection pool
Creates a connection pool for the Managed Database service {uuid}. Connection pool endpoints are for PostgreSQL Managed Databases only.
post/1.3/database/{uuid}/connection-pools
Request
- Base URL: https://api.upcloud.com
- URL: https://api.upcloud.com/1.3/database/{uuid}/connection-pools
- Auth: HTTP bearer
Path parameters
uuidstring uuid required
The unique identifier for the integration.
Example:01234567-89ab-cdef-0123-456789abcdef
Service UUID
Request body
Example request
{
"database": "defaultdb",
"pool_mode": "statement",
"pool_name": "readonly-pool",
"pool_size": 10,
"username": "readonly"
}Response
Created
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.