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