Update access control for one service user

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://openapi-v2.exoscale.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Exoscale APIv2 MCP server": {
  "url": "https://openapi-v2.exoscale.com/mcp"
}
Close
PUT /dbaas-postgres/{service-name}/user/{username}/allow-replication

Path parameters

  • service-name string Required

    Minimum length is 0, maximum length is 63.

  • username string Required

    Minimum length is 1, maximum length is 64.

application/json

Body Required

  • allow-replication boolean

Responses

  • 200 application/json

    200

    Hide response attribute Show response attribute object
    • users array[object]
      Hide users attributes Show users attributes object
      • username string Required

        Minimum length is 1, maximum length is 64.

      • allow-replication boolean
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
    }
  ]
}