Uninstall WHM plugin RPM package

This function starts the uninstall process for a plugin. The uninstall process runs as a background process.

SecurityBasicAuth
Request
query Parameters
name
required
string

The name of a plugin RPM to uninstall.

Example: name=plugin_name
Responses
200

HTTP Request was successful.

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