Update access control for one service user
Path parameters
-
Service name
Minimum length is
0
, maximum length is63
. -
Minimum length is
1
, maximum length is64
.
Body Required
-
allow-replication boolean
PUT
/dbaas-postgres/{service-name}/user/{username}/allow-replication
curl \
-X PUT https://api-ch-gva-2.exoscale.com/v2/dbaas-postgres/{service-name}/user/{username}/allow-replication \
-H "Content-Type: application/json" \
-d '{"allow-replication":true}'
Request examples
{
"allow-replication": true
}
Response examples (200)
{
"users": [
{
"username": "string",
"allow-replication": true
}
]
}