Uninstall a plugin of the specified instance of WordPress. This deletes the plugin's files.
$cpapi=https://{USER}:{PASS}@{SERVER_IP}:2083/3rdparty/installatron/index.cgi? # cpanel
#$cpapi=https://{USER}:{PASS}@{SERVER_IP}:2087/3rdparty/installatron/index.cgi? # whm
#$cpapi=https://{USER}:{PASS}@{SERVER_IP}:2222/CMD_PLUGINS/installatron/index.raw? # directadmin
curl -X DELETE $cpapi/installs/1234567890abcdefghij12345/plugins/akismet \
-H 'Accept: application/json'
{
"status": 200,
"result": true,
"message": "The task is complete.\n",
"errcode": null,
"errfield": null,
"data": {
"id": "limit-login-attempts-reloaded",
"activated": false,
"autoup": "none",
"version": "2.3.4",
"name": "Limit Login Attempts Reloaded",
"description": "Block excessive login attempts and protect your site against brute force attacks. Simple, yet powerful tools to improve site performance.",
"author": "Limit Login Attempts Reloaded",
"version_available": "2.3.4"
}
}