This function replaces the current password with a new one.
uapi --output=jsonpretty \ --user=username \ Team \ set_password \ user='teamuser' \ password='securepassword'
{- "apiversion": 3,
- "func": "set_password",
- "module": "Team",
- "result": {
- "data": { },
- "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}