Update access control for one service user

PUT /dbaas-postgres/{service-name}/user/{username}/allow-replication

Path parameters

  • service-name string Required

    Service name

    Minimum length is 0, maximum length is 63.

  • username string Required

    Minimum length is 1, maximum length is 64.

application/json

Responses

  • 200 application/json

    200

    Hide response attribute Show response attribute object
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
    }
  ]
}