Skip to content

Odoo List Database

List the server's databases using the list method of the db service.

Method
{
  "jsonrpc": "2.0",
  "method": "call",
  "params": {
    "service": "db",
    "method": "list",
    "args": [
    ]
  }
}

Request

List all the databases in a server.

Request body
{
  "jsonrpc": "2.0",
  "method": "call",
  "params": {
    "service": "db",
    "method": "list",
    "args": [
    ]
  }
}

Response

Response body
{
  "jsonrpc": "2.0",
  "id": null,
  "result": [
    "prod",
    "test"
  ]
}