Uninstall WHM plugin RPM package

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

Authorizations:
query Parameters
name
required
string

The name of a plugin RPM to uninstall.

Example: name=plugin_name

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  uninstall_rpm_plugin \
  name='plugin_name'

Response samples

Content type
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
    }
}