Install WHM plugin RPM package

This function starts a plugin installation. The installation runs as a background process.

SecurityBasicAuth
Request
query Parameters
name
required
string

The name of a plugin RPM to install.

Example: name=plugin name
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/install_rpm_plugin
Request samples
whmapi1 --output=jsonpretty \
  install_rpm_plugin \
  name='plugin name'
Response samples
application/json
{
  • "data": {
    • "log_entry": "2017-01-01T19:39:27Z_plugin_name",
    • "pid": 1234
    },
  • "metadata": {
    • "command": "install_rpm_plugin",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}