Create a DBaaS Postgres user
Path parameters
-
Service name
Minimum length is
0
, maximum length is63
.
Body Required
-
Minimum length is
1
, maximum length is64
. -
allow-replication boolean
POST /dbaas-postgres/{service-name}/user
curl \
-X POST https://api-ch-gva-2.exoscale.com/v2/dbaas-postgres/{service-name}/user \
-H "Content-Type: application/json" \
-d '{"username":"string","allow-replication":true}'
Request examples
{
"username": "string",
"allow-replication": true
}
Response examples (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}