This function installs, upgrades, or uninstalls RPM packages.
Note:
The system queues this function's actions to run as background tasks. The actions may require additional time to finish.
install | string The RPM package that you want to install. If you do not use this parameter, the function does not install a package. Note: You can pass this parameter multiple times to install more than one RPM package install=install=package1 install=package2 install=package1 |
uninstall | string The RPM package that you want to uninstall. If you do not use this parameter, the function does not uninstall a package. Note: You can pass this parameter multiple times to uninstall more than one RPM package. uninstall=uninstall=package3 uninstall=package4 uninstall=package5 uninstall=package3 |
upgrade | string The RPM package that you want to upgrade. If you do not use this parameter, the function does not upgrade a package. Note: You can pass this parameter multiple times to upgrade more than one RPM package. upgrade=upgrade=package6 upgrade=package7 upgrade=package8 upgrade=package6 |
object | |
object |
whmapi1 --output=jsonpretty \ package_manager_submit_actions
{- "data": {
- "build": 9717
}, - "metadata": {
- "command": "package_manager_submit_actions",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}