This function changes a PostgreSQL® database user's password.
Important:
When you disable the Postgres role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Postgresql \ set_password \ user='dbuser' \ password='12345luggage'
{- "apiversion": 3,
- "func": "set_password",
- "module": "Postgresql",
- "result": {
- "data": null,
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}