This function updates a WordPress® cPAddon instance's administrator password.
Note:
You must install the WordPress Manager cPanel plugin to access this API function.
uapi --output=jsonpretty \ --user=username \ WordPressInstanceManager \ change_admin_password \ id='cPanel__Blogs__WordPressX.0.1491917088' \ password='luggage12345'
{- "apiversion": 3,
- "func": "change_admin_password",
- "module": "WordPressInstanceManager",
- "result": {
- "data": null,
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}