POST
/dbaas-postgres/{service-name}/connection-pool
curl \
--request POST 'https://api-ch-gva-2.exoscale.com/v2/dbaas-postgres/{service-name}/connection-pool' \
--header "Content-Type: application/json" \
--data '{"name":"string","database-name":"string","mode":"transaction","size":42,"username":"string"}'
Request examples
{
"name": "string",
"database-name": "string",
"mode": "transaction",
"size": 42,
"username": "string"
}
Response examples (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}