Skip to content

Odoo Change Admin Password

Danger

The super administrator password of the database manager is required to perform this operation.

The database manager master password can be changed using the change_admin_password method of the db service.

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

Request

Change the database manager master password from password to new_password.

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

Response

Response body
{
  "jsonrpc": "2.0",
  "id": null,
  "result": true
}