Edit a plugin's activation and automatic update status for the specified instance of WordPress.
curl -X POST https://{SERVER_IP}/installs/1234567890abcdefghij12345/plugins/limit-login-attempts-reloaded \
-H 'X-API-KEY: {the key= or key2= value from /usr/local/installatron/etc/settings.ini}' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '
{
"activated": false
}
'
{
"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"
}
}
curl -X POST https://{SERVER_IP}/installs/1234567890abcdefghij12345/plugins/akismet \
-H 'X-API-KEY: {the key= or key2= value from /usr/local/installatron/etc/settings.ini}' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '
{
"autoup": "all"
}
'
{
"status": 200,
"result": true,
"message": "The task is complete.\n",
"errcode": null,
"errfield": null,
"data": {
"id": "akismet",
"activated": true,
"autoup": "true",
"version": "5.4.3",
"name": "Akismet Anti-spam: Spam Protection",
"description": "Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. Akismet Anti-spam keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key.",
"author": "Automattic - Anti-spam Team",
"version_available": "5.4.4"
}
}