{"id":2240,"date":"2019-01-02T10:02:04","date_gmt":"2019-01-02T10:02:04","guid":{"rendered":"http:\/\/www.softaculous.com\/blog\/docs\/api\/remote-api\/"},"modified":"2023-12-21T13:48:35","modified_gmt":"2023-12-21T13:48:35","slug":"remote-api","status":"publish","type":"docs","link":"https:\/\/www.softaculous.com\/blog\/docs\/api\/remote-api\/","title":{"rendered":"Remote API"},"content":{"rendered":"\n<p>The API simplifies task such as Installing Scripts, Removing Scripts, Creating Domains, Deleting Domains, Adding Users, Removing Users, Editing User Details and such similar functions. There is also a&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_SDK\">PHP SDK Class<\/a>&nbsp;written for doing various activities like Installing Apps, Upgrading installations, etc.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Admin Functions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Authenticating<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>api_key<\/td><td>Random String<\/td><td>API Key is 16 Characters random string provided by Intaller or your Host.<\/td><\/tr><tr><td>api_pass<\/td><td>Random String<\/td><td>API Key is 32 Characters random string provided by Intaller or your Host.<\/td><\/tr><tr><td>useuser (Optional)<\/td><td>Username of the account.<\/td><td>This is Optional and can be used to perform Enduser level functions of that user e.g. installing an application, etc.<\/td><\/tr><tr><td>createSession (Optional)<\/td><td>Username of the account.<\/td><td>As an Admin you can create a session of a particular user and give the returned session key to the user to give him access to the Softaculous Remote Interface.<\/td><\/tr><tr><td>api<\/td><td>serialize, json or xml (Default: serialize)<\/td><td>Softaculous Remote will return the output in the format specfied.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Admin Login Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">$url = 'http:\/\/remote.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEYREMOTE'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize';\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\n\/\/ Get response from the server.\n$resp = curl_exec($ch);<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Admin acting as User Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">$url = 'http:\/\/remote.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEYREMOTE'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;useuser=username'.\n\t\t\t'&amp;api=serialize';\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\n\/\/ Get response from the server.\n$resp = curl_exec($ch);<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Creating User Session Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">$url = 'http:\/\/remote.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEYREMOTE'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;createSession=username'.\n\t\t\t'&amp;api=serialize';\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n\n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n\n\/\/ Error\nif(!empty($res['error'])){\n\t\n\tprint_r($res['error']);\n\n\/\/ No error\n}else{\n\techo 'User Session Key (RSID) : '.$res['rsid'].'&lt;br \/&gt;'.\n\t'URL : '.$res['rsid'];\n}<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Enduser<\/h2>\n\n\n\n<p>These are Enduser level actions which can be peformed by any enduser.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Authenticating<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>api_key<\/td><td>Random String<\/td><td>API Key is 16 Characters random string provided by Intaller or your Host.<\/td><\/tr><tr><td>api_pass<\/td><td>Random String<\/td><td>API Key is 32 Characters random string provided by Intaller or your Host.<\/td><\/tr><tr><td>api<\/td><td>serialize, json or xml (Default: serialize)<\/td><td>Softaculous Remote will return the output in the format specfied.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">$url = 'http:\/\/remote.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEYREMOTE'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize';\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\n\/\/ Get response from the server.\n$resp = curl_exec($ch);<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">List Scripts<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>blank or any<\/td><td>Any act will do as this is available everywhere.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;act=home'.\n\t\t\t'&amp;api=serialize';\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n\n\/\/ Unserialize data\n$res = unserialize($resp);\n\n\/\/ The Installed scripts list is in the array key 'iscripts'\nprint_r($res['iscripts']);<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Install a Script<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>software, js, perl<\/td><td>The value should be &#8220;software&#8221; to install PHP script, &#8220;js&#8221; to install a JavaScript and &#8220;perl&#8221; to install a PERL script for softaculous to perform the&nbsp;<strong>act<\/strong>ion of installing a software.<\/td><\/tr><tr><td>soft<\/td><td>26 (26 is the Script ID of WordPress)<\/td><td>The value should be &#8220;SID&#8221; for softaculous to perform the&nbsp;<strong>act<\/strong>ion of installing a software. You can find the list of sid&#8217;s&nbsp;<a href=\"http:\/\/api.softaculous.com\/scripts.php?in=serialize\">here<\/a><\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>softsubmit<\/td><td>1<\/td><td>This will trigger the install<\/td><\/tr><tr><td>softdomain<\/td><td>domain.com<\/td><td>This is the domain on which you wish to install the script<\/td><\/tr><tr><td>softdirectory<\/td><td>wp<\/td><td>This is the sub-directory to install the script in. Leave it blank to install in root of the domain<\/td><\/tr><tr><td>softdb<\/td><td>wp123<\/td><td>This is the database name for the script. If the script does not require database you can leave this blank<\/td><\/tr><tr><td>dbusername<\/td><td>wp123<\/td><td>This is the database user(Only for Softaculous Remote)<\/td><\/tr><tr><td>dbuserpass<\/td><td>w1XRF28mq8<\/td><td>This is the database password. You can generate a random password(Only for Softaculous Remote)<\/td><\/tr><tr><td>hostname<\/td><td>localhost<\/td><td>This is the hostname of your MySQL server. You can enter your MySQL server IP if you have MySQL on a remote server(Only for Softaculous Remote)<\/td><\/tr><tr><td>admin_username<\/td><td>admin<\/td><td>This is the admin account username for the installation<\/td><\/tr><tr><td>admin_pass<\/td><td>pass<\/td><td>This is the admin account password for the installation<\/td><\/tr><tr><td>admin_email<\/td><td>admin@domain.com<\/td><td>This is the admin account email address for the installation<\/td><\/tr><tr><td>language<\/td><td>en<\/td><td>Language for the installation. You can get the language codes from the respective&nbsp;<strong>install.xml<\/strong><\/td><\/tr><tr><td>site_name<\/td><td>My Blog<\/td><td>Site Name for the installation<\/td><\/tr><tr><td>site_desc<\/td><td>My WordPress Blog<\/td><td>Site Description for the installation<\/td><\/tr><tr><td>dbprefix<\/td><td>dbpref_<\/td><td>(Optional) Table Prefix to be used for the tables created by application<\/td><\/tr><tr><td>noemail<\/td><td>1<\/td><td>(Optional) &#8211; Use this only if you do not want to send an email to the user<\/td><\/tr><tr><td>overwrite_existing<\/td><td>1<\/td><td>(Optional) &#8211; Use this only if you do not want Softaculous to check for existing files in installation path. If any file(s) exists they will be overwritten.<\/td><\/tr><tr><td>softproto<\/td><td>1 &#8211; http:\/\/&nbsp;<br>2 &#8211;&nbsp;<a href=\"http:\/\/www\/\">http:\/\/www<\/a>.&nbsp;<br>3 &#8211; https:\/\/&nbsp;<br>4 &#8211;&nbsp;<a href=\"https:\/\/www\/\">https:\/\/www<\/a>.<\/td><td>(Optional) &#8211; Protocol to be used for the installation<\/td><\/tr><tr><td>eu_auto_upgrade<\/td><td>1<\/td><td>(Optional) &#8211; Pass 1 to enable auto upgrade. Auto upgrade will be enabled only if the script supports auto upgrade.<\/td><\/tr><tr><td>auto_upgrade_plugins<\/td><td>1<\/td><td>(Optional) &#8211; Pass 1 to enable auto upgrade plugins. If script supports auto upgrade for plugin then it will be enabled.<\/td><\/tr><tr><td>auto_upgrade_themes<\/td><td>1<\/td><td>(Optional) &#8211; Pass 1 to enable auto upgrade themes. If script supports auto upgrade for theme then it will be enabled.<\/td><\/tr><tr><td>auto_backup<\/td><td>daily &#8211; Once a day&nbsp;<br>weekly &#8211; Once a week&nbsp;<br>monthly &#8211; Once a month<\/td><td>(Optional) &#8211; Enable auto backups<\/td><\/tr><tr><td>auto_backup_rotation<\/td><td>0 &#8211; Unlimited backup rotation<br>1 &#8211; backup rotation after 1 backup<br>4 &#8211; backup rotation after 1 backup<\/td><td>(Optional) &#8211; Possible values (0-10). Use this to set the value for auto backup rotation.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=software'.\n                        '&amp;soft=26';\n\n$post = array('softsubmit' =&gt; '1',\n              'softdomain' =&gt; 'example.com', \/\/ Must be a valid Domain\n              'softdirectory' =&gt; 'wp', \/\/ Keep empty to install in Web Root\n              'softdb' =&gt; 'wpdb',\n              'dbusername' =&gt; 'dbusername',\n              'dbuserpass' =&gt; 'dbuserpass',\n              'hostname' =&gt; 'localhost',\n              'admin_username' =&gt; 'admin',\n              'admin_pass' =&gt; 'adminpassword',\n              'admin_email' =&gt; 'admin@example.com',\n              'language' =&gt; 'en',\n              'site_name' =&gt; 'WordPress Site',\n              'site_desc' =&gt; 'My Blog',\n              'dbprefix' =&gt; 'dbpref_'\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Edit an Installation<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>editdetail<\/td><td>The value should be &#8220;editdetail&#8221; for softaculous to perform the&nbsp;<strong>act<\/strong>ion of editing an installation.<\/td><\/tr><tr><td>insid<\/td><td>26_12345<\/td><td>The installation ID that you want to edit. It can be fetched from&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#List_Installed_Script\">List Installed Script<\/a><\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>editins<\/td><td>1<\/td><td>This will trigger the edit function<\/td><\/tr><tr><td>edit_dir<\/td><td>\/home\/USERNAME\/public_html<\/td><td>(Optional) Path to installation. If not posted the path in existing records will be used.<\/td><\/tr><tr><td>edit_url<\/td><td><a href=\"http:\/\/example.com\/\">http:\/\/example.com<\/a><\/td><td>(Optional) URL to installation. If not posted the URL in existing records will be used.<\/td><\/tr><tr><td>edit_datadir<\/td><td>\/home\/USERNAME\/datadir<\/td><td>(Optional) Path to data directory of the installation. If not posted the data directory in existing records will be used.<\/td><\/tr><tr><td>edit_dbname<\/td><td>username_dbname<\/td><td>(Optional) Database name for the installation. If not posted the Database name in existing records will be used.<\/td><\/tr><tr><td>edit_dbuser<\/td><td>username_dbuser<\/td><td>(Optional) Database user for the installation. If not posted the Database user in existing records will be used.<\/td><\/tr><tr><td>edit_dbpass<\/td><td>dbpass<\/td><td>(Optional) Password of the database user for the installation. If not posted the password in existing records will be used.<\/td><\/tr><tr><td>edit_dbhost<\/td><td>localhost<\/td><td>(Optional) Database host for the installation. If not posted the Database host in existing records will be used.<\/td><\/tr><tr><td>eu_auto_upgrade<\/td><td>1<\/td><td>(Optional) 1 to Enable auto upgrade option and 0 to disable. If not posted the existing setting will not be changed.<\/td><\/tr><tr><td>auto_upgrade_plugins<\/td><td>1<\/td><td>(Optional) 1 to Enable auto upgrade plugins option and 0 to disable. If not posted the existing setting will not be changed. (Currently this option is supported only in WordPress)<\/td><\/tr><tr><td>auto_upgrade_themes<\/td><td>1<\/td><td>(Optional) 1 to Enable auto upgrade themes option and 0 to disable. If not posted the existing setting will not be changed. (Currently this option is supported only in WordPress)<\/td><\/tr><tr><td>noemail<\/td><td>1<\/td><td>(Optional) &#8211; Use this only if you do not want to send an email to the user<\/td><\/tr><tr><td>admin_username<\/td><td>adminusername<\/td><td>(Optional) &#8211; Use this only if the script provides admin account creation at the time of installation<\/td><\/tr><tr><td>admin_pass<\/td><td>adminpassword<\/td><td>(Optional) &#8211; Use this only if the script provides admin account creation at the time of installation<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=editdetail'.\n                        '&amp;insid=26_12345';\n\n$post = array('editins' =&gt; '1',\n              'edit_dir' =&gt; '\/path\/to\/installation\/', \/\/ Must be the path to installation\n              'edit_url' =&gt; 'http:\/\/example.com', \/\/ Must be the URL to installation\n              'edit_dbname' =&gt; 'wpdb',\n              'edit_dbuser' =&gt; 'dbusername',\n              'edit_dbpass' =&gt; 'dbuserpass',\n              'edit_dbhost' =&gt; 'dbhost',\n              'admin_username' =&gt; 'adminusername', \/\/Provide this only if script provides as well as password needs to be reset\n              'admin_pass' =&gt; 'adminpassword' \/\/Provide this only if script provides\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}\n\n\/\/ Print the entire output just incase !\nprint_r($res);<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Upgrade an Installed Script<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>upgrade<\/td><td>The value should be &#8220;upgrade&#8221; for softaculous to perform the&nbsp;<strong>act<\/strong>ion of upgrading an installation.<\/td><\/tr><tr><td>insid<\/td><td>26_12345<\/td><td>The installation ID that you want to upgrade. It can be fetched from&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#List_Installed_Script\">List Installed Script<\/a><\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>softsubmit<\/td><td>1<\/td><td>This will trigger the upgrade<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=upgrade'.\n                        '&amp;insid=26_12345';\n\n$post = array('softsubmit' =&gt; '1');\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\t\/\/ There might be some task that the user has to perform\n\tif(!empty($res['setupcontinue'])){\n\n\t\techo 'Please visit the following URL to complete upgrade : '.$res['setupcontinue'];\t\n\n\t\/\/ It upgraded\n\t}else{\n\n\t\techo 'Upgraded successfully. URL to Installation : '.$res['__settings']['softurl'];\t\n\n\t}\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}\n\n\/\/ Print the entire output just incase !\nprint_r($res);<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Update Installation Version in Softaculous Records<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>editdetail<\/td><td>The value should be &#8220;editdetail&#8221; for softaculous to perform the&nbsp;<strong>act<\/strong>ion of editing an installation.<\/td><\/tr><tr><td>insid<\/td><td>26_12345<\/td><td>The installation ID that you want to edit. It can be fetched from&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#List_Installed_Script\">List Installed Script<\/a><\/td><\/tr><tr><td>updateversion<\/td><td>1<\/td><td>The value should be&nbsp;<strong>1<\/strong>&nbsp;so it will invoke the method to determine and update the Softaculous records with the correct version of the installation<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=editdetail'.\n                        '&amp;insid=26_12345'.\n                        '&amp;updateversion=1';\n\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}\n\n\/\/ Print the entire output just incase !\nprint_r($res);<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Clone an Installed Script<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>sclone<\/td><td>The value should be &#8220;sclone&#8221; for softaculous to perform the&nbsp;<strong>act<\/strong>ion of cloning an installation.<\/td><\/tr><tr><td>insid<\/td><td>26_12345<\/td><td>The installation ID that you want to clone. It can be fetched from&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#List_Installed_Script\">List Installed Script<\/a><\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>softsubmit<\/td><td>1<\/td><td>This will trigger the clone<\/td><\/tr><tr><td>softdomain<\/td><td>domain.com<\/td><td>This is the domain on which you wish to clone the installation<\/td><\/tr><tr><td>softdirectory<\/td><td>wp<\/td><td>This is the sub-directory to clone the installation in. Leave it blank to clone in root of the domain<\/td><\/tr><tr><td>softdb<\/td><td>wp123<\/td><td>This is the database name for the cloned installation. If the script does not require database you can leave this blank.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n 'api_key=TESTAPIKEY'.\n '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n '&amp;api=serialize'.\n '&amp;act=sclone'.\n                        '&amp;insid=26_12345';\n\n$post = array('softsubmit' =&gt; '1',\n              'softdomain' =&gt; 'example.com', \/\/ Must be a valid Domain\n              'softdirectory' =&gt; 'wp', \/\/ Keep empty to install in Web Root\n              'softdb' =&gt; 'wpdb'\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n curl_setopt($ch, CURLOPT_POST, 1);\n curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n echo 'Cloned successfully. URL to Installation cloned installation : '.$res['__settings']['softurl'];\n\n\/\/ Error\n}else{\n\n echo 'Some error occured';\n print_r($res['error']);\n\n}\n\n\/\/ Print the entire output just incase !\nprint_r($res);<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Create Staging of an Installed Script<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>staging<\/td><td>The value should be &#8220;staging&#8221; for softaculous to perform the&nbsp;<strong>act<\/strong>ion of creating staging copy of an installation.<\/td><\/tr><tr><td>insid<\/td><td>26_12345<\/td><td>The installation ID which you want to create staging copy for. It can be fetched from&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#List_Installed_Script\">List Installed Script<\/a><\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>softsubmit <\/td><td>1 <\/td><td>This will trigger the staging process <\/td><\/tr><tr><td>softproto<\/td><td>1 \u2013 http:\/\/&nbsp;<br>2 \u2013&nbsp;<a href=\"http:\/\/www\/\">http:\/\/www<\/a>.&nbsp;<br>3 \u2013 https:\/\/&nbsp;<br>4 \u2013&nbsp;<a href=\"https:\/\/www\/\">https:\/\/www<\/a>. <\/td><td>(Optional) \u2013 Protocol to be used for the installation  <\/td><\/tr><tr><td>softdomain<\/td><td>domain.com<\/td><td>This is the domain on which you wish to staging installation to run<\/td><\/tr><tr><td>softdirectory<\/td><td>wp<\/td><td>This is the sub-directory to create staging installation in. Leave it blank to create staging in root of the domain<\/td><\/tr><tr><td>softdb<\/td><td>wp123<\/td><td>This is the database name for the staging installation. If the script does not require database you can leave this blank.<\/td><\/tr><tr><td>dbusername<\/td><td>dbuser<\/td><td>This is the database user for the staging installation. If the script does not require database you can leave this blank.<\/td><\/tr><tr><td>dbuserpass<\/td><td>dbpass<\/td><td>This is the database password for the staging installation. If the script does not require database you can leave this blank.<\/td><\/tr><tr><td>hostname<\/td><td>localhost<\/td><td> This is the hostname of your MySQL server. You can enter your MySQL server IP if you have MySQL on a remote server.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Note : Staging process will start in background and you will get a Task key (32 chars) in response [&#8216;done&#8217;] key. Use that key to get the current status of the task. Refer to <a href=\"http:\/\/www.softaculous.com\/docs\/api\/remote-api#task-list-status\">Get Task Status API<\/a>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n 'api_key=TESTAPIKEY'.\n '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n '&amp;api=serialize'.\n '&amp;act=staging'.\n '&amp;insid=26_12345';\n\n$post = array('softsubmit' =&gt; '1',\n              'softproto' =&gt; '1', \/\/ 1 refers to http:\/\/\n              'softdomain' =&gt; 'example.com', \/\/ Must be a valid Domain \n              'softdirectory' =&gt; 'wp', \/\/ Keep empty to install in Web Root\n              'softdb' =&gt; 'wpdb',\n              'dbusername' =&gt; 'dbuser',\n              'dbuserpass' =&gt; 'dbpass',\n              'hostname' =&gt; 'localhost'\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n curl_setopt($ch, CURLOPT_POST, 1);\n curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n echo 'Staging succesfully pushed in background. Use the Task key '.$res['done'].' to get the current status of the staging process.';\n\n\/\/ Error\n}else{\n\n echo 'Some error occured';\n print_r($res['error']);\n\n}\n\n\/\/ Print the entire output just incase !\nprint_r($res);<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Push to Live from Staging Installation<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>pushtolive<\/td><td>The value should be &#8220;pushtolive&#8221; for softaculous to perform the&nbsp;<strong>act<\/strong>ion of pushing to live from the staging installation.<\/td><\/tr><tr><td>insid<\/td><td>26_12345<\/td><td>The installation ID of the staging installation which you want to push to live. It can be fetched from&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#List_Installed_Script\">List Installed Script<\/a><\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>softsubmit <\/td><td>1 <\/td><td>This will trigger the pushtolive process <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Note : Push to Live process will start in background and you will get a Task key (32 chars) in response [&#8216;done&#8217;] key. Use that key to get the current status of the task. Refer to <a href=\"http:\/\/www.softaculous.com\/docs\/api\/remote-api#task-list-status\">Get Task Status API<\/a>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n 'api_key=TESTAPIKEY'.\n '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n '&amp;api=serialize'.\n '&amp;act=pushtolive'.\n '&amp;insid=26_12345';\n\n$post = array('softsubmit' =&gt; '1'\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n curl_setopt($ch, CURLOPT_POST, 1);\n curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n echo 'Push to live succesfully started in background. Use the Task key '.$res['done'].' to get the current status of the push to live process.';\n\n\/\/ Error\n}else{\n\n echo 'Some error occured';\n print_r($res['error']);\n\n}\n\n\/\/ Print the entire output just incase !\nprint_r($res);<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Remove an Installed Script<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>remove<\/td><td>The value should be &#8220;remove&#8221; to perform the&nbsp;<strong>act<\/strong>ion of removing an installed script.<\/td><\/tr><tr><td>insid<\/td><td>8 (Installation ID)<\/td><td>Installation ID of the installed script. It can be fetched from&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#List_Installed_Script\">List Installed Script<\/a><\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>removeins<\/td><td>1<\/td><td>This will trigger the remove install process<\/td><\/tr><tr><td>remove_dir<\/td><td>1<\/td><td>This is to remove the directory where the script is installed. If you do not want to remove the directory do not pass this key in post.<\/td><\/tr><tr><td>remove_datadir<\/td><td>1<\/td><td>This is to remove the data directory where the script is installed. If you do not want to remove the data directory do not pass this key in post.<\/td><\/tr><tr><td>remove_db<\/td><td>1<\/td><td>This is to remove the database of the installation. If you do not want to remove the database do not pass this key in post.<\/td><\/tr><tr><td>remove_dbuser<\/td><td>1<\/td><td>This is to remove the database user of the installation. If you do not want to remove the database user do not pass this key in post.<\/td><\/tr><tr><td>noemail<\/td><td>1<\/td><td>(Optional) &#8211; Use this only if you do not want to send an email to the user<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=remove'.\n                        '&amp;insid=8';\n\n$post = array('removeins' =&gt; '1',\n              'remove_dir' =&gt; '1', \/\/ Pass this if you want the directory to be removed\n              'remove_datadir' =&gt; '1', \/\/ Pass this if you want the data directory to be removed\n              'remove_db' =&gt; '1', \/\/ Pass this if you want the database to be removed\n              'remove_dbuser' =&gt; '1' \/\/ Pass this if you want the database user to be removed\n\t\t);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Import an Installation<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>import<\/td><td>The value should be &#8220;import&#8221; to perform the&nbsp;<strong>act<\/strong>ion of importing an installation.<\/td><\/tr><tr><td>soft<\/td><td>26 (26 is the Script ID of WordPress)<\/td><td>The value should be &#8220;SID&#8221; for softaculous to perform the&nbsp;<strong>act<\/strong>ion of installing a software. You can find the list of sid&#8217;s&nbsp;<a href=\"http:\/\/api.softaculous.com\/scripts.php?in=serialize\">here<\/a><\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>softdomain<\/td><td>example.com<\/td><td>This will be the domain where your script is installed. Domain should be without&nbsp;<strong>http:\/\/<\/strong>&nbsp;or&nbsp;<strong>https:\/\/<\/strong><\/td><\/tr><tr><td>softdirectory<\/td><td>wp<\/td><td>(OPTIONAL) This will be the directory under the domain where your script is installed. Leave this blank if the script is installed in the root of domain.<\/td><\/tr><tr><td>softsubmit<\/td><td>1<\/td><td>This will trigger the import function.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=import'.\n\t\t\t'&amp;soft=26';\n\n$post = array('softsubmit' =&gt; 1,\n\t\t'softdomain' =&gt; 'example.com',\n\t\t'softdirectory' =&gt; 'wp');\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"task-list-status\">Get Task Status<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td> You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods. <\/td><\/tr><tr><td>act<\/td><td>eu_tasklist<\/td><td>The value should be \u201ceu_tasklist\u201d to perform the&nbsp;<strong>act<\/strong>ion to get the status of the task.<\/td><\/tr><tr><td>ssk<\/td><td>abcdefghijklmnopqrstuvwxyz0123456789<\/td><td>The ssk is the status file. 32 chars string you will receive in the intial API response in &#8220;done&#8221; key.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"example-24\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\">\/\/ The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n 'api_key=TESTAPIKEY'.\n '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n '&amp;api=serialize'.\n '&amp;act=eu_tasklist'.\n '&amp;ssk=abcdefghijklmnopqrstuvwxyz0123456789';\n\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);<\/pre>\n\n\n\n<p>You will get the response as follows:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Array (     <br>      [title] =&gt; Softaculous - Task List<br>      [status] =&gt; Array         <br>                   (             <br>                       [process] =&gt;              <br>                       [current_status] =&gt; Propagating the database<br>                       [sid] =&gt; 26<br>                       [name] =&gt; WordPress             <br>                       [version] =&gt; 4.7.5             <br>                       [softurl] =&gt; https:\/\/domain.com\/<br>                       [completed] =&gt; Installation Completed<br>                       [progress] =&gt; 100         <br>                    )     <br>      [no_tasks] =&gt;      <br>      [tasks_file] =&gt;      <br>      [timenow] =&gt; 1496828740     <br>      [time_taken] =&gt; 0.001 <br>) <\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Get Script Info<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>software<\/td><td>The value should be &#8220;installations&#8221; to perform the&nbsp;<strong>act<\/strong>ion of listing installations.<\/td><\/tr><tr><td>soft<\/td><td>26 (26 is the Script ID of WordPress)<\/td><td>The value should be &#8220;SID&#8221; for softaculous to perform the&nbsp;<strong>act<\/strong>ion of installing a software. You can find the list of sid&#8217;s&nbsp;<a href=\"http:\/\/api.softaculous.com\/scripts.php?in=serialize\">here<\/a><\/td><\/tr><tr><td>giveinfo<\/td><td>1<\/td><td>Pass this value as 1 to get the information of the script (passed in the&nbsp;<strong>soft<\/strong>&nbsp;parameter)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=software'.\n\t\t\t'&amp;soft=26'.\n\t\t\t'&amp;giveinfo=1';\n\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n\n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n\nprint_r($res);\nprint_r($res['info']['overview']); \/\/ will have overview of the script (in HTML format)\nprint_r($res['info']['features']); \/\/ will have features list of the script (in HTML format)\nprint_r($res['info']['demo']); \/\/ will have the link to demo of the script\nprint_r($res['info']['ratings']); \/\/ will have the link to ratings page of the script\nprint_r($res['info']['support']); \/\/ will have the link to script vendor support page\nprint_r($res['info']['release_date']); \/\/ will have the release date of the current version of the script\nprint_r($res['settings']); \/\/ will have an array of the list of fields that the script will require, e.g. site_name, site_desc, language, etc\nprint_r($res['dbtype']); \/\/ if the value is not empty it means the script requires a database, if the value is empty it means that the script does not require a database\nprint_r($res['cron']); \/\/ if the value is not empty it means the script requires a CRON JOB, if the value is empty it means that the script does not require a CRON JOB\nprint_r($res['datadir']); \/\/ if the value is not empty it means the script requires a data directory, if the value is empty it means that the script does not require a data directory<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">List Installed Script<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>installations<\/td><td>The value should be &#8220;installations&#8221; to perform the&nbsp;<strong>act<\/strong>ion of listing installations.<\/td><\/tr><tr><td>showupdates<\/td><td>true<\/td><td>(OPTIONAL) The value should be &#8220;true&#8221; if you want to list only installations that have an update available for softaculous to perform the&nbsp;<strong>act<\/strong>ion of listing installations.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=installations';\n\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">List Outdated Installations\/ Installations that need update<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>installations<\/td><td>The value should be &#8220;installations&#8221; to perform the&nbsp;<strong>act<\/strong>ion of listing installations.<\/td><\/tr><tr><td>showupdates<\/td><td>true<\/td><td>The value should be &#8220;true&#8221; if you want to list only installations that have an update available for Softaculous to perform the&nbsp;<strong>act<\/strong>ion of listing installations.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=installations'.\n\t\t\t'&amp;showupdates=true';\n\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">List Backups<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>backups<\/td><td>The value should be &#8220;backups&#8221; to perform the&nbsp;<strong>act<\/strong>ion of listing backups.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=backups';\n\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Backup an Installed Script<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>backup<\/td><td>The value should be &#8220;backup&#8221; to perform the&nbsp;<strong>act<\/strong>ion of taking the backup of the installation.<\/td><\/tr><tr><td>insid<\/td><td>26_5454 (Installation ID)<\/td><td>Installation ID of the installed script. It can be fetched from&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#List_Installed_Script\">List Installed Script<\/a><\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>backupins<\/td><td>1<\/td><td>This will trigger the backup function.<\/td><\/tr><tr><td>backup_dir<\/td><td>1<\/td><td>This is to backup the directory<\/td><\/tr><tr><td>backup_datadir<\/td><td>1<\/td><td>This is to backup the data directory<\/td><\/tr><tr><td>backup_db<\/td><td>1<\/td><td>This is to backup the database<\/td><\/tr><tr><td>backup_location<\/td><td>2&nbsp;<br>(Location ID)<\/td><td>(Optional) &#8211; Location id of the backup location where you want to store your current backup. Default value will be the one saved in the installation&#8217;s settings. You can find the location id from&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#List_Backup_Locations\">List Backup Locations<\/a><\/td><\/tr><tr><td>noemail<\/td><td>1<\/td><td>(Optional) &#8211; Use this only if you do not want to send an email to the user<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=backup'.\n\t\t\t'&amp;insid=26_4545';\n\n$post = array('backupins' =&gt; '1',\n              'backup_dir' =&gt; '1', \/\/ Pass this if you want to backup the directory\n              'backup_datadir' =&gt; '1', \/\/ Pass this if you want to backup the data directory\n              'backup_db' =&gt; '1', \/\/ Pass this if you want to backup the database\n\t\t);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Restore an Installed Script<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>restore<\/td><td>The value should be &#8220;restore&#8221; to perform the&nbsp;<strong>act<\/strong>ion of restoring the backup of the installation.<\/td><\/tr><tr><td>restore<\/td><td>backup_time_insid.tar.gz (Backup File Name)<\/td><td>Name of the Backup File. It can be fetched from&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#List_Backups\">List Backups<\/a><\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>restore_ins<\/td><td>1<\/td><td>This will trigger the restore function.<\/td><\/tr><tr><td>restore_dir<\/td><td>1<\/td><td>This is to restore the directory<\/td><\/tr><tr><td>restore_datadir<\/td><td>1<\/td><td>This is to restorethe data directory<\/td><\/tr><tr><td>restore_db<\/td><td>1<\/td><td>This is to restore the database<\/td><\/tr><tr><td>noemail<\/td><td>1<\/td><td>(Optional) &#8211; Use this only if you do not want to send an email to the user<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=restore'.\n\t\t\t'&amp;restore=backup_time_insid.tar.gz';\n\n$post = array('restore_ins' =&gt; '1',\n              'restore_dir' =&gt; '1', \/\/ Pass this if you want to restore the directory\n              'restore_datadir' =&gt; '1', \/\/ Pass this if you want to restore the data directory\n              'restore_db' =&gt; '1', \/\/ Pass this if you want to restore the database\n\t\t);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Download Backups<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>backups<\/td><td>The value should be &#8220;backups&#8221; to perform the&nbsp;<strong>act<\/strong>ion of downloading the backup of an installation.<\/td><\/tr><tr><td>download<\/td><td>backup_time_insid.zip (Backup File Name)<\/td><td>Name of the Backup File. It can be fetched from&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#List_Backups\">List Backups<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=backups'.\n\t\t\t'&amp;download=backup_time_insid.zip';\n\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Delete Backups<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>backups<\/td><td>The value should be &#8220;backups&#8221; to perform the&nbsp;<strong>act<\/strong>ion of downloading the backup of an installation.<\/td><\/tr><tr><td>remove<\/td><td>backup_time_insid.zip (Backup File Name)<\/td><td>Name of the Backup File. It can be fetched from&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#List_Backups\">List Backups<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=backups'.\n\t\t\t'&amp;remove=backup_time_insid.zip';\n\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Edit Enduser Settings<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>settings<\/td><td>The value should be &#8220;settings&#8221; to perform the&nbsp;<strong>act<\/strong>ion of updating the settings of a user.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>editsettings<\/td><td>1<\/td><td>This will trigger the edit settings function<\/td><\/tr><tr><td>language<\/td><td>english<\/td><td>The language you want to set for the user.<\/td><\/tr><tr><td>timezone<\/td><td>0<\/td><td>This is the timezone that you want to set for the user. User&nbsp;<strong>0<\/strong>&nbsp;to set the timezone to&nbsp;<strong>Server Default<\/strong>.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=settings;\n\n$post = array('editsettings' =&gt; 1,\n\t\t'language' =&gt; 'english',\n\t\t'timezone' =&gt; '0');\n\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Edit Enduser Email Settings<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>email<\/td><td>The value should be &#8220;email&#8221; to perform the&nbsp;<strong>act<\/strong>ion of updating the email settings of a user.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>editemailsettings<\/td><td>1<\/td><td>This will trigger the edit email settings function<\/td><\/tr><tr><td>email<\/td><td>admin@example.com<\/td><td>(Optional) Pass a valid email to receive the updates, leave blank to leave the email unchanged.<\/td><\/tr><tr><td>ins_email<\/td><td>1<\/td><td>(Optional) Pass this as 1 to enable receiving email for new installations,&nbsp;<strong>off<\/strong>&nbsp;to disable the same.<\/td><\/tr><tr><td>rem_email<\/td><td>1<\/td><td>(Optional) Pass this as 1 to enable receiving email after removing an installation,&nbsp;<strong>off<\/strong>&nbsp;to disable the same.<\/td><\/tr><tr><td>editdetail_email<\/td><td>1<\/td><td>(Optional) Pass this as 1 to enable receiving email after editing an installation,&nbsp;<strong>off<\/strong>&nbsp;to disable the same.<\/td><\/tr><tr><td>backup_email<\/td><td>1<\/td><td>(Optional) Pass this as 1 to enable receiving email after backup of an installation,&nbsp;<strong>off<\/strong>&nbsp;to disable the same.<\/td><\/tr><tr><td>restore_email<\/td><td>1<\/td><td>(Optional) Pass this as 1 to enable receiving email after restore of an installation,&nbsp;<strong>off<\/strong>&nbsp;to disable the same.<\/td><\/tr><tr><td>clone_email<\/td><td>1<\/td><td>(Optional) Pass this as 1 to enable receiving email after cloning an installation,&nbsp;<strong>off<\/strong>&nbsp;to disable the same.<\/td><\/tr><tr><td>disable_all_notify_update<\/td><td>1<\/td><td>(Optional) Pass this as 1 to disable receiving update available notification email,&nbsp;<strong>off<\/strong>&nbsp;to enable the same.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=email;\n\n$post = array('editemailsettings' =&gt; 1,\n\t\t'email' =&gt; 'admin@example.com',\n\t\t'ins_email' =&gt; '1');\n\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Auto Sign On<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>sign_on<\/td><td>The value should be &#8220;sign_on&#8221; to perform the&nbsp;<strong>act<\/strong>ion to get the sign on URL.<\/td><\/tr><tr><td>insid<\/td><td>26_12345<\/td><td>The installation ID that you want to edit. It can be fetched from&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#List_Installed_Script\">List Installed Script<\/a><\/td><\/tr><tr><td>autoid<\/td><td>abcdefghijklmnopqrstuvwxyz0123456789<\/td><td>This must be any 32 character random string.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=sign_on'.\n                        '&amp;insid=26_12345'.\n                        '&amp;autoid=abcdefghijklmnopqrstuvwxyz0123456789';\n\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\n\/\/ Get response from the server.\n$resp = curl_exec($ch);<\/pre>\n\n\n\n<p>On using this API, you will get the&nbsp;<strong>sign_on_url<\/strong>, upon accessing which the user will be logged in to the admin panel of the script. You can use the same URL to redirect the user as shown here:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">$op = unserialize($resp);\nheader('Location: '.$op['sign_on_url']);<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Domains Functions<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">List Domains<\/h4>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>domains<\/td><td>This will list the domains under the account that you are logged in as.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\">Example<\/h5>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=domains';\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Add Domain<\/h4>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>adddomain<\/td><td>This will trigger the add domain function under the account that you are logged in as.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>add_domain<\/td><td>1<\/td><td>This will trigger the add domain function<\/td><\/tr><tr><td>domain<\/td><td>domain.com<\/td><td>Name of the domain to be added<\/td><\/tr><tr><td>server_host<\/td><td>ftp.domain.com<\/td><td>(Optional) This is the server host which will be used as the host to connect via FTP\/FTPS\/SFTP.<\/td><\/tr><tr><td>ftp_user<\/td><td>ftp_user<\/td><td>User to connect to the FTP\/FTPS\/SFTP server<\/td><\/tr><tr><td>ftp_pass<\/td><td>ftp_pass<\/td><td>Password for User to connect to the FTP\/FTPS\/SFTP server<\/td><\/tr><tr><td>ftp_path<\/td><td>\/public_html<\/td><td>Path to the directory relative to home directory of user for installations<\/td><\/tr><tr><td>backup_path<\/td><td>\/backups<\/td><td>Path to the directory relative to home directory of user for storing backups<\/td><\/tr><tr><td>data_dir<\/td><td>\/datadir<\/td><td>Path to the data directory which will be used to create data directories required by some scripts like Moodle. This should not be accessible by webserver.<\/td><\/tr><tr><td>protocol (Optional)<\/td><td>ftp, ftps, sftp (Default: ftp)<\/td><td>The Protocol to use for this domain<\/td><\/tr><tr><td>port<\/td><td>21<\/td><td>Port number to connect to the FTP\/SFTP\/FTPS server. FTP default is 21.<\/td><\/tr><tr><td>public_key (Optional)<\/td><td>Public Key<\/td><td>Path to Public Key. Specify only when&nbsp;<strong>sftp<\/strong>&nbsp;protocol is used<\/td><\/tr><tr><td>private_key (Optional)<\/td><td>Private Key<\/td><td>Path to Private Key. Specify only&nbsp;<strong>sftp<\/strong>&nbsp;protocol is used<\/td><\/tr><tr><td>passphrase (Optional)<\/td><td>Passphrase<\/td><td>Passphrase for Private Key. Specify only&nbsp;<strong>sftp<\/strong>&nbsp;protocol is used<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\">Example<\/h5>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=adddomain';\n\n\n$post = array('add_domain' =&gt; 1,\n\t\t'domain' =&gt; 'example.com',\n\t\t'server_host' =&gt; 'ftp.example.com', \/\/ Optional\n\t\t'ftp_user' =&gt; 'ftp_user',\n\t\t'ftp_pass' =&gt; 'ftp_pass',\n\t\t'ftp_path' =&gt; '\/public_html',\n\t\t'backup_path' =&gt; '\/backups',\n\t\t'data_dir' =&gt; '\/datadir',\n\t\t'protocol' =&gt; 'ftp',\n\t\t'port' =&gt; '21');\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Edit a Domain<\/h4>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>editdomain<\/td><td>This will trigger the edit domain function under the account that you are logged in as.<\/td><\/tr><tr><td>did<\/td><td>1<\/td><td>This will will be the domain id of the domain which you want to edit. You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#List_Domains\">List Domains<\/a>function.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>edit_domain<\/td><td>1<\/td><td>This will trigger the edit domain function<\/td><\/tr><tr><td>domain<\/td><td>domain.com<\/td><td>This is the updated domain<\/td><\/tr><tr><td>server_host<\/td><td>ftp.domain.com<\/td><td>(Optional) This is the updated server host which will be used as the host to connect via FTP\/FTPS\/SFTP.<\/td><\/tr><tr><td>ftp_user<\/td><td>ftp_user<\/td><td>This is the updated FTP User<\/td><\/tr><tr><td>ftp_pass<\/td><td>ftp_pass<\/td><td>This is the updated FTP Pass<\/td><\/tr><tr><td>ftp_path<\/td><td>\/public_html<\/td><td>This is the updated FTP Path<\/td><\/tr><tr><td>backup_path<\/td><td>\/backups<\/td><td>This is the updated backup path<\/td><\/tr><tr><td>data_dir<\/td><td>\/datadir<\/td><td>This is the updated data directory<\/td><\/tr><tr><td>protocol (Optional)<\/td><td>ftp, ftps, sftp (Default: ftp)<\/td><td>The Protocol to use for this domain<\/td><\/tr><tr><td>port<\/td><td>21<\/td><td>This is the updated port<\/td><\/tr><tr><td>public_key (Optional)<\/td><td>Public Key<\/td><td>Path to Public Key. Specify only when&nbsp;<strong>sftp<\/strong>&nbsp;protocol is used<\/td><\/tr><tr><td>private_key (Optional)<\/td><td>Private Key<\/td><td>Path to Private Key. Specify only&nbsp;<strong>sftp<\/strong>&nbsp;protocol is used<\/td><\/tr><tr><td>passphrase (Optional)<\/td><td>Passphrase<\/td><td>Passphrase for Private Key. Specify only&nbsp;<strong>sftp<\/strong>&nbsp;protocol is used<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\">Example<\/h5>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=editdomain'.\n\t\t\t'&amp;did=1';\n\n\n$post = array('edit_domain' =&gt; 1,\n\t\t'domain' =&gt; 'example.com',\n\t\t'server_host' =&gt; 'ftp.example.com', \/\/ Optional\n\t\t'ftp_user' =&gt; 'ftp_user',\n\t\t'ftp_pass' =&gt; 'ftp_pass',\n\t\t'ftp_path' =&gt; '\/public_html',\n\t\t'backup_path' =&gt; '\/backups',\n\t\t'data_dir' =&gt; '\/datadir',\n\t\t'protocol' =&gt; 'ftp',\n\t\t'port' =&gt; '21');\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Delete a Domain<\/h4>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>domains<\/td><td>This will trigger the domains function under the account that you are logged in as.<\/td><\/tr><tr><td>delid<\/td><td>1<\/td><td>This will will be the domain id of the domain which you want to delete. You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#List_Domains\">List Domains<\/a>&nbsp;function.<\/td><\/tr><tr><td>cleanins<\/td><td>1<\/td><td>(Optional) Passing this as 1 will delete all the installations under this domain. If you do not want to delete the installations for the domain being deleted leave this parameter empty.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\">Example<\/h5>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=domains'.\n\t\t\t'&amp;delid=1'.\n\t\t\t'&amp;cleanins=1';\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">WordPress Sets<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Create Set<\/h4>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>manage_sets<\/td><td>The value should be \u201cmanage_sets\u201d to perform the&nbsp;<strong>act<\/strong>ion of creating a set.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>set_input<\/td><td>SET-NAME<\/td><td>The value must be name of your set<\/td><\/tr><tr><td>add_sets<\/td><td>1<\/td><td>This will trigger the addition of set<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n                    'api_key=TESTAPIKEY'.\n                    '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t            '&amp;api=serialize'.\n\t            '&amp;act=manage_sets';\n\n$post = array('set_input' =&gt; 'SET-NAME', \/\/Name of your set\n              'add_sets' =&gt; '1'\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Add Plugin<\/h4>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>manage_sets<\/td><td>The value should be \u201cmanage_sets\u201d to perform the&nbsp;<strong>act<\/strong>ion of installing plugin to a set.<\/td><\/tr><tr><td>sets_name<\/td><td>SET-NAME<\/td><td>The value should be name of your set<\/td><\/tr><tr><td>plugins<\/td><td>1<\/td><td>The value of plugin must be 1 to install plugin in set<\/td><\/tr><tr><td>add_plugins_themes_data<\/td><td>1<\/td><td>The add_plugins_themes_data is to add the plugin to the set.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>add_plugins_themes_data_slugs<\/td><td>An array with the plugin slugs<\/td><td>An array with the plugin slugs that you want to add.<\/td><\/tr><tr><td>add_plugins_themes_data_names<\/td><td>An array with the plugin name<\/td><td>An array with the plugin names that you want to add.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n                    'api_key=TESTAPIKEY'.\n                    '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n                    '&amp;api=serialize'.\n                    '&amp;sets_name=SET-NAME'.\n                    '&amp;plugins=1'.\n                    '&amp;add_plugins_themes_data=1'.\n\t            '&amp;act=manage_sets';\n\n$post = array('add_plugins_themes_data_slugs' =&gt; array('duplicator'), \/\/Slug name\n              'add_plugins_themes_data_names' =&gt; array('Duplicator \u2013 WordPress Migration Plugin') \/\/Plugin name\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Add Theme<\/h4>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>manage_sets<\/td><td>The value should be \u201cmanage_sets\u201d to perform the&nbsp;<strong>act<\/strong>ion of installing theme to a set.<\/td><\/tr><tr><td>sets_name<\/td><td>SET-NAME<\/td><td>The value should be name of your set<\/td><\/tr><tr><td>themes<\/td><td>1<\/td><td>The value of themes must be 1 to install theme in set<\/td><\/tr><tr><td>add_plugins_themes_data<\/td><td>1<\/td><td>The add_plugins_themes_data is to add the theme to the set.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>add_plugins_themes_data_slugs<\/td><td>An array with the theme slugs<\/td><td>An array with the theme slugs that you want to add.<\/td><\/tr><tr><td>add_plugins_themes_data_names<\/td><td>An array with the theme names<\/td><td>An array with the theme names that you want to add.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n                    'api_key=TESTAPIKEY'.\n                    '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n                    '&amp;api=serialize'.\n                    '&amp;sets_name=SET-NAME'.\n                    '&amp;themes=1'.\n                    '&amp;add_plugins_themes_data=1'.\n                    '&amp;act=manage_sets';\n\n$post = array('add_plugins_themes_data_slugs' =&gt; array('open-shop'), \/\/Slug name\n              'add_plugins_themes_data_names' =&gt; array('Open Shop') \/\/Theme name\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Remove Set<\/h4>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>manage_sets<\/td><td>The value should be \u201cmanage_sets\u201d to perform the&nbsp;<strong>act<\/strong>ion of removing a set.<\/td><\/tr><tr><td>remove_sets<\/td><td>1<\/td><td>This will trigger the removal process of set.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>sets<\/td><td>An array with the set names<\/td><td>An array with the set names you want to remove.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n                    'api_key=TESTAPIKEY'.\n                    '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t            '&amp;api=serialize'.\n                    '&amp;remove_sets=1'.\n\t\t    '&amp;act=manage_sets';\n\n$post = array('sets' =&gt; array('SET-NAME'), \/\/Set name\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Remove Plugins from Set<\/h4>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>manage_sets<\/td><td>The value should be \u201cmanage_sets\u201d to perform the&nbsp;<strong>act<\/strong>ion of removing plugin from set.<\/td><\/tr><tr><td>set_name<\/td><td>SET-NAME<\/td><td>The value should be name of your set from which plugin is to be removed.<\/td><\/tr><tr><td>plugins<\/td><td>1<\/td><td>The value must be 1 to remove plugin from set.<\/td><\/tr><tr><td>plugins_themes_to_remove<\/td><td>duplicator<\/td><td>The slug name of plugin<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n                    'api_key=TESTAPIKEY'.\n                    '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t    '&amp;api=serialize'.\n                    '&amp;set_name=SET-NAME'.\n                    '&amp;plugins=1'.\n                    '&amp;plugins_themes_to_remove=duplicator'.\n\t            '&amp;act=manage_sets';\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Remove Theme from Set<\/h4>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>manage_sets<\/td><td>The value should be \u201cmanage_sets\u201d to perform the&nbsp;<strong>act<\/strong>ion of removing theme from set.<\/td><\/tr><tr><td>set_name<\/td><td>SET-NAME<\/td><td>The value should be name of your set from which theme is to be removed.<\/td><\/tr><tr><td>themes<\/td><td>1<\/td><td>The value must be 1 to remove theme from set.<\/td><\/tr><tr><td>plugins_themes_to_remove<\/td><td>open-shop<\/td><td>The slug name of theme<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n                    'api_key=TESTAPIKEY'.\n                    '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t    '&amp;api=serialize'.\n                    '&amp;set_name=SET-NAME'.\n                    '&amp;themes=1'.\n                    '&amp;plugins_themes_to_remove=open-shop'.\n\t            '&amp;act=manage_sets';\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Install Set<\/h4>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>manage_sets<\/td><td>The value should be \u201cmanage_sets\u201d to perform the&nbsp;<strong>act<\/strong>ion of removing a set.<\/td><\/tr><tr><td>softinstall_set<\/td><td>SET-NAME<\/td><td>The value should be name of your set which is to be installed.<\/td><\/tr><tr><td>softwebsites<\/td><td>26_35180<\/td><td>The installation ID that you want the set to be installed on. It can be fetched from&nbsp;<a href=\"https:\/\/www.softaculous.com\/docs\/api\/remote-api\/#list-installed-script\">List Installed Script<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n                    'api_key=TESTAPIKEY'.\n                    '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t    '&amp;api=serialize'.\n                    '&amp;softinstall_set=SET-NAME'.\n                    '&amp;softwebsites=26_35180'.\n\t            '&amp;act=manage_sets';\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Pre-Select Set<\/h4>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>manage_sets<\/td><td>The value should be \u201cmanage_sets\u201d to perform the&nbsp;<strong>act<\/strong>ion of removing a set.<\/td><\/tr><tr><td>set_name<\/td><td>SET-NAME<\/td><td>The value should be name of your set which to be pre-selected on install form<\/td><\/tr><tr><td>default_value<\/td><td>1<\/td><td>This will pre-select the set.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n                    'api_key=TESTAPIKEY'.\n                    '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t    '&amp;api=serialize'. \n                    '&amp;set_name=SET-NAME'. \n                    '&amp;default_value=1'. \n                    '&amp;act=manage_sets';\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">WordPress Manager<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">List WordPress Installations<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>wordpress<\/td><td>The value should be \u201cwordpress\u201d to perform the&nbsp;<strong>act<\/strong>ion of listing wordpress installations.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n              'api_key=TESTAPIKEY'.\n              '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n              '&amp;api=serialize'.\n              '&amp;act=wordpress';\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n curl_setopt($ch, CURLOPT_POST, 1);\n curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \nif(!empty($res['error'])){\n\n     \/\/ Error\n     echo 'Some error occurred';\n     print_r($res['error']);\n\n}else{\n     \n     print_r($res);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Auto Login to WordPress admin panel<\/h4>\n\n\n\n<p>You can use the&nbsp;<a href=\"https:\/\/www.softaculous.com\/docs\/api\/remote-api\/#auto-sign-on\" target=\"_blank\" rel=\"noreferrer noopener\">Auto Sign On<\/a>&nbsp;API example to Auto Login to the WordPress admin panel via WordPress Manager.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Upgrade Installation<\/h4>\n\n\n\n<p>You can use the&nbsp;<a href=\"https:\/\/www.softaculous.com\/docs\/api\/remote-api\/#upgrade-an-installed-script\" target=\"_blank\" rel=\"noreferrer noopener\">Upgrade an Installed Script<\/a>&nbsp;API to upgrade the installation via WordPress Manager.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Auto Upgrade Core Settings<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>wordpress<\/td><td>The value should be \u201cwordpress\u201d to perform the&nbsp;<strong>act<\/strong>ion of enabling auto upgrade core settings.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>insid<\/td><td>26_31793<\/td><td>The installation ID for which you want to enable auto upgrade . It can be fetched from&nbsp;<a href=\"https:\/\/www.softaculous.com\/docs\/api\/api\/#list-wordpress-installations\" target=\"_blank\" rel=\"noreferrer noopener\">List WordPress Installations<\/a><\/td><\/tr><tr><td>auto_upgrade_core<\/td><td>1<\/td><td>The values for auto upgrade core settings can be:<br>0 \u2013 Do not upgrade<br>1 \u2013 Upgrade to minor version only<br>2- Upgrade to any latest version available (<strong>Major<\/strong>&nbsp;as well as&nbsp;<strong>Minor<\/strong>)<\/td><\/tr><tr><td>save<\/td><td>1<\/td><td>This shall enable the auto upgrade core settings<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n                'api_key=TESTAPIKEY'.\n                '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n                '&amp;api=serialize'.\n                '&amp;act=wordpress';\n\n$post = array('insid' =&gt; '26_31793',\n              'auto_upgrade_core' =&gt; '1',\n              'save' =&gt; '1'\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Auto Upgrade Plugins\/Themes Settings<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>wordpress<\/td><td>The value should be \u201cwordpress\u201d to perform the&nbsp;<strong>act<\/strong>ion of enabling auto upgrade plugin\/theme settings.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>insid<\/td><td>26_31793<\/td><td>The installation ID for which you want to enable auto upgrade . It can be fetched from&nbsp;<a href=\"https:\/\/www.softaculous.com\/docs\/api\/api\/#list-wordpress-installations\" target=\"_blank\" rel=\"noreferrer noopener\">List WordPress Installations<\/a><\/td><\/tr><tr><td>auto_upgrade_plugins<\/td><td>1<\/td><td>The values for auto upgrade plugin setting can be:<br>0 \u2013 Do not upgrade<br>1 \u2013 Enable auto upgrade of plugin<\/td><\/tr><tr><td>auto_upgrade_themes<\/td><td>1<\/td><td>The values for auto upgrade theme setting can be:<br>0 \u2013 Do not upgrade<br>1 \u2013 Enable auto upgrade of theme<\/td><\/tr><tr><td>save<\/td><td>1<\/td><td>This shall enable the auto upgrade for plugin\/theme<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n                    'api_key=TESTAPIKEY'.\n                    '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n                    '&amp;api=serialize'.\n                    '&amp;act=wordpress';\n\n$post = array('insid' =&gt; '26_31793',\n              'auto_upgrade_plugins' =&gt; '1',\n              'auto_upgrade_themes' =&gt; '1',\n              'save' =&gt; '1'\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Enable\/Disable Search Engine Visibility<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>wordpress<\/td><td>The value should be \u201cwordpress\u201d to perform the&nbsp;<strong>act<\/strong>ion of enabling\/disabling the search engine visibility.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>insid<\/td><td>26_31793<\/td><td>The installation ID for which you want to enable\/disable search engine visibility. It can be fetched from&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.softaculous.com\/docs\/api\/api\/#list-wordpress-installations\" target=\"_blank\">List WordPress Installations<\/a><\/td><\/tr><tr><td>blog_public<\/td><td>1<\/td><td>The values to enable\/disable search engine visibility:<br>0 \u2013 Disable<br>1 \u2013 Enable<\/td><\/tr><tr><td>save<\/td><td>1<\/td><td>This shall enable\/disable search engine visibility.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n               'api_key=TESTAPIKEY'.\n               '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n               '&amp;api=serialize'.\n               '&amp;act=wordpress';\n\n$post = array('insid' =&gt; '26_31793',\n              'blog_public' =&gt; '1',\n              'save' =&gt; '1'\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Enable\/Disable WordPress CRON<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>wordpress<\/td><td>The value should be \u201cwordpress\u201d to perform the&nbsp;<strong>act<\/strong>ion of enabling\/disabling the WordPress cron.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>insid<\/td><td>26_31793<\/td><td>The installation ID for which you want to enable\/disable the WordPress cron. It can be fetched from&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.softaculous.com\/docs\/api\/api\/#list-wordpress-installations\" target=\"_blank\">List WordPress Installations<\/a><\/td><\/tr><tr><td>disable_wp_cron<\/td><td>0<\/td><td>The values to enable\/disable the WordPress cron:<br>0 \u2013 Enable<br>1 \u2013 Disable<\/td><\/tr><tr><td>save<\/td><td>1<\/td><td>This shall enable\/disable the WordPress cron.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n               'api_key=TESTAPIKEY'.\n               '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n               '&amp;api=serialize'.\n               '&amp;act=wordpress';\n\n$post = array('insid' =&gt; '26_31793',\n              'disable_wp_cron' =&gt; '0',\n              'save' =&gt; '1'\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Enable\/Disable WordPress Debug Mode<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>wordpress<\/td><td>The value should be \u201cwordpress\u201d to perform the&nbsp;<strong>act<\/strong>ion of enabling\/disabling the debug mode in WordPress.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>insid<\/td><td>26_31793<\/td><td>The installation ID for which you want to enable\/disable the debug mode in WordPress. It can be fetched from&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.softaculous.com\/docs\/api\/api\/#list-wordpress-installations\" target=\"_blank\">List WordPress Installations<\/a><\/td><\/tr><tr><td>wp_debug<\/td><td>1<\/td><td>The values to enable\/disable the debug mode in WordPress:<br>0 \u2013 Disable<br>1 \u2013 Enable<\/td><\/tr><tr><td>save<\/td><td>1<\/td><td>This shall enable\/disable the debug mode in WordPress.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n               'api_key=TESTAPIKEY'.\n               '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n               '&amp;api=serialize'.\n               '&amp;act=wordpress';\n\n$post = array('insid' =&gt; '26_31793',\n              'wp_debug' =&gt; '1',\n              'save' =&gt; '1'\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Change Website URL<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>wordpress<\/td><td>The value should be \u201cwordpress\u201d to perform the&nbsp;<strong>act<\/strong>ion of changing the Site URL in WordPress.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>insid<\/td><td>26_31793<\/td><td>The installation ID for which you want to change the Site URL. It can be fetched from&nbsp;<a href=\"https:\/\/www.softaculous.com\/docs\/api\/remote-api\/#list-wordpress-installations\" target=\"_blank\" rel=\"noreferrer noopener\">List WordPress Installations<\/a><\/td><\/tr><tr><td>softurl<\/td><td>https:\/\/example.com\/test<\/td><td>The value is the name of the URL<\/td><\/tr><tr><td>site_name<\/td><td>My Blog Test<\/td><td>The value is the blog or site name<\/td><\/tr><tr><td>save_info<\/td><td>1<\/td><td>This shall save the changed site URL<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n                  'api_key=TESTAPIKEY'.\n                  '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n                  '&amp;api=serialize'.\n                  '&amp;act=wordpress';\n\n$post = array('insid' =&gt; '26_31793',\n              'softurl' =&gt; 'https:\/\/example.com\/test',\n              'site_name' =&gt; 'My Blog Test',\n              'save_info' =&gt; '1'\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Change Site Name<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>wordpress<\/td><td>The value should be \u201cwordpress\u201d to perform the&nbsp;<strong>act<\/strong>ion of changing the Site name in WordPress.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>insid<\/td><td>26_31793<\/td><td>The installation ID for which you want to change the Site name. It can be fetched from&nbsp;<a href=\"https:\/\/www.softaculous.com\/docs\/api\/remote-api\/#list-wordpress-installations\" target=\"_blank\" rel=\"noreferrer noopener\">List WordPress Installations<\/a><\/td><\/tr><tr><td>softurl<\/td><td>https:\/\/example.com\/test<\/td><td>The value is the name of the URL<\/td><\/tr><tr><td>site_name<\/td><td>My Blog Test<\/td><td>The value is the blog or site name<\/td><\/tr><tr><td>save_info<\/td><td>1<\/td><td>This shall save the changed site name<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n                'api_key=TESTAPIKEY'.\n                '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n                '&amp;api=serialize'.\n                '&amp;act=wordpress';\n\n$post = array('insid' =&gt; '26_31793',\n              'softurl' =&gt; 'https:\/\/example.com\/test',\n              'site_name' =&gt; 'My Blog Test',\n              'save_info' =&gt; '1'\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Change Password <\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>wordpress<\/td><td>The value should be \u201cwordpress\u201d to perform the&nbsp;action of changing the password of any user account in WordPress.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>insid<\/td><td>26_31793<\/td><td>The installation ID for which you want to change the user password. It can be fetched from&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.softaculous.com\/docs\/api\/api\/#list-wordpress-installations\" target=\"_blank\">List WordPress Installations<\/a><\/td><\/tr><tr><td>admin_username<\/td><td>admin<\/td><td>The value is the admin username<\/td><\/tr><tr><td>admin_password<\/td><td>new_password<\/td><td>The value is the new admin password<\/td><\/tr><tr><td>save_admin_info<\/td><td>1<\/td><td>This shall save the changed password<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n                'api_key=TESTAPIKEY'.\n                '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n                '&amp;api=serialize'.\n                '&amp;act=wordpress';\n\n$post = array('insid' =&gt; '26_31793',\n              'admin_username' =&gt; 'admin',\n              'admin_password' =&gt; 'new_password',\n              'save_admin_info' =&gt; '1'\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Manage Plugins<\/h4>\n\n\n\n<h5 class=\"wp-block-heading\">Activate Plugin <\/h5>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>wordpress<\/td><td>The value should be \u201cwordpress\u201d to load WordPress Manager.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>insid<\/td><td>26_31793<\/td><td>The installation ID for which you want to activate the plugin. It can be fetched from&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.softaculous.com\/docs\/api\/api\/#list-wordpress-installations\" target=\"_blank\">List WordPress Installations<\/a><\/td><\/tr><tr><td>type<\/td><td>plugins<\/td><td>The value should be &#8220;plugins&#8221;<\/td><\/tr><tr><td>slug<\/td><td>akismet\/akismet.php<\/td><td>The value is the plugin file path. Generally plugin folders are designed like &lt;pluginname&gt;\/&lt;pluginname&gt;.php <\/td><\/tr><tr><td>activate<\/td><td>1<\/td><td>This shall activate the plugin <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n                'api_key=TESTAPIKEY'.\n                '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n                '&amp;api=serialize'.\n                '&amp;act=wordpress';\n\n$post = array('insid' =&gt; '26_31793',\n              'type' =&gt; 'plugins',\n              'slug' =&gt; 'akismet\/akismet.php',\n              'activate' =&gt; '1'\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">Deactivate Plugin  <\/h5>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>wordpress<\/td><td>The value should be \u201cwordpress\u201d to load WordPress Manager.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>insid<\/td><td>26_31793<\/td><td>The installation ID for which you want to deactivate the plugin. It can be fetched from&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.softaculous.com\/docs\/api\/api\/#list-wordpress-installations\" target=\"_blank\">List WordPress Installations<\/a><\/td><\/tr><tr><td>type<\/td><td>plugins<\/td><td>The value should be &#8220;plugins&#8221;<\/td><\/tr><tr><td>slug<\/td><td>akismet\/akismet.php<\/td><td>The value is the plugin file path. Generally plugin folders are designed like &lt;pluginname&gt;\/&lt;pluginname&gt;.php<\/td><\/tr><tr><td>deactivate<\/td><td>1<\/td><td>This shall deactivate the plugin <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong> <\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n                'api_key=TESTAPIKEY'.\n                '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n                '&amp;api=serialize'.\n                '&amp;act=wordpress';\n\n$post = array('insid' =&gt; '26_31793',\n              'type' =&gt; 'plugins',\n              'slug' =&gt; 'akismet\/akismet.php',\n              'deactivate' =&gt; '1'\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">Remove Plugin  <\/h5>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>wordpress<\/td><td>The value should be \u201cwordpress\u201d to load WordPress Manager.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>insid<\/td><td>26_31793<\/td><td>The installation ID for which you want to remove the plugin. It can be fetched from&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.softaculous.com\/docs\/api\/api\/#list-wordpress-installations\" target=\"_blank\">List WordPress Installations<\/a><\/td><\/tr><tr><td>type<\/td><td>plugins<\/td><td>The value should be &#8220;plugins&#8221;<\/td><\/tr><tr><td>slug<\/td><td>akismet\/akismet.php<\/td><td>The value is the plugin file path. Generally plugin folders are designed like &lt;pluginname&gt;\/&lt;pluginname&gt;.php<\/td><\/tr><tr><td>delete<\/td><td>1<\/td><td>This shall remove the plugin <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n                'api_key=TESTAPIKEY'.\n                '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n                '&amp;api=serialize'.\n                '&amp;act=wordpress';\n\n$post = array('insid' =&gt; '26_31793',\n              'type' =&gt; 'plugins',\n              'slug' =&gt; 'akismet\/akismet.php',\n              'delete' =&gt; '1'\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">Install Plugin <\/h5>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>wordpress<\/td><td>The value should be \u201cwordpress\u201d to load WordPress Manager.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>insid<\/td><td>26_31793<\/td><td>The installation ID for which you want to install the plugin. It can be fetched from&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.softaculous.com\/docs\/api\/api\/#list-wordpress-installations\" target=\"_blank\">List WordPress Installations<\/a><\/td><\/tr><tr><td>type<\/td><td>plugins<\/td><td>The value should be &#8220;plugins&#8221;<\/td><\/tr><tr><td>slug<\/td><td>loginizer<\/td><td>The value is the slug for the plugin from wordpress.org to be installed.<\/td><\/tr><tr><td>install<\/td><td>1<\/td><td>This shall install the plugin <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n                'api_key=TESTAPIKEY'.\n                '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n                '&amp;api=serialize'.\n                '&amp;act=wordpress';\n\n$post = array('insid' =&gt; '26_31793',\n              'type' =&gt; 'plugins',\n              'slug' =&gt; 'loginizer',\n              'install' =&gt; '1'\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">Upload &amp; Install Plugin <\/h5>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>wordpress<\/td><td>The value should be \u201cwordpress\u201d to load WordPress Manager.<\/td><\/tr><tr><td>upload<\/td><td>1<\/td><td>The value should be 1 to perform the&nbsp;action of upload &amp; install plugin.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>insid<\/td><td>26_31793<\/td><td>The installation ID for which you want to install the plugin. It can be fetched from&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.softaculous.com\/docs\/api\/api\/#list-wordpress-installations\" target=\"_blank\">List WordPress Installations<\/a><\/td><\/tr><tr><td>type<\/td><td>plugins<\/td><td>The value should be &#8220;plugins&#8221;<\/td><\/tr><tr><td>custom_file<\/td><td>\/path\/to\/loginizer.1.6.7.zip<\/td><td>The value is the full path on your server for plugin zip file to be installed<\/td><\/tr><tr><td>activate<\/td><td>1<\/td><td>This is to activate the plugin upon installation<br>0 &#8211; If you do not want to activate the plugin<br>1- If you want to activate the plugin<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n                'api_key=TESTAPIKEY'.\n                '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n                '&amp;api=serialize'.\n                '&amp;act=wordpress'.\n                '&amp;upload=1';\n\n\/\/ Plugin zip file\n$file_name_with_full_path = 'loginizer.1.6.7.zip';\n\n\/\/ php 5.5+\nif (function_exists('curl_file_create')) { \n  $cFile = curl_file_create($file_name_with_full_path);\n} else { \n  $cFile = '@' . realpath($file_name_with_full_path);\n}\n\n$post = array('insid' =&gt; '26_31793',\n              'type' =&gt; 'plugins',\n              'activate' =&gt; '1',\n              'custom_file' =&gt; $cFile\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, $post);\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Manage Themes <\/h4>\n\n\n\n<h5 class=\"wp-block-heading\">Activate Theme <\/h5>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>wordpress<\/td><td>The value should be \u201cwordpress\u201d to load WordPress Manager.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>insid<\/td><td>26_31793<\/td><td>The installation ID for which you want to activate the theme. It can be fetched from&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.softaculous.com\/docs\/api\/api\/#list-wordpress-installations\" target=\"_blank\">List WordPress Installations<\/a><\/td><\/tr><tr><td>type<\/td><td>themes<\/td><td>The value should be &#8220;themes&#8221;<\/td><\/tr><tr><td>slug<\/td><td>twentytwenty\/style.css<\/td><td>The value is the theme file path. <br>Path format &#8211; &lt;themename&gt;\/style.css<\/td><\/tr><tr><td>activate<\/td><td>1<\/td><td>This shall activate the theme <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n                'api_key=TESTAPIKEY'.\n                '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n                '&amp;api=serialize'.\n                '&amp;act=wordpress';\n\n$post = array('insid' =&gt; '26_31793',\n              'type' =&gt; 'themes',\n              'slug' =&gt; 'twentytwenty\/style.css',\n              'activate' =&gt; '1'\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">Deactivate Theme  <\/h5>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>wordpress<\/td><td>The value should be \u201cwordpress\u201d to load WordPress Manager.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>insid<\/td><td>26_31793<\/td><td>The installation ID for which you want to deactivate the theme. It can be fetched from&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.softaculous.com\/docs\/api\/api\/#list-wordpress-installations\" target=\"_blank\">List WordPress Installations<\/a><\/td><\/tr><tr><td>type<\/td><td>themes<\/td><td>The value should be &#8220;themes&#8221;<\/td><\/tr><tr><td>slug<\/td><td>twentytwenty\/style.css<\/td><td>The value is the theme file path. <br>Path format &#8211; &lt;themename&gt;\/style.css<\/td><\/tr><tr><td>deactivate<\/td><td>1<\/td><td>This shall deactivate the theme<br>Note: Atleast one active theme is required<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n                'api_key=TESTAPIKEY'.\n                '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n                '&amp;api=serialize'.\n                '&amp;act=wordpress';\n\n$post = array('insid' =&gt; '26_31793',\n              'type' =&gt; 'themes',\n              'slug' =&gt; 'twentytwenty\/style.css',\n              'deactivate' =&gt; '1'\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">Remove Theme <\/h5>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>wordpress<\/td><td>The value should be \u201cwordpress\u201d to load WordPress Manager.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>insid<\/td><td>26_31793<\/td><td>The installation ID for which you want to remove the theme. It can be fetched from&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.softaculous.com\/docs\/api\/api\/#list-wordpress-installations\" target=\"_blank\">List WordPress Installations<\/a><\/td><\/tr><tr><td>type<\/td><td>themes<\/td><td>The value should be &#8220;themes&#8221;<\/td><\/tr><tr><td>slug<\/td><td> twentytwenty\/style.css <\/td><td>The value is the theme file path. <br>Path format &#8211; &lt;themename&gt;\/style.css <\/td><\/tr><tr><td>delete<\/td><td>1<\/td><td>This shall remove the theme <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n                'api_key=TESTAPIKEY'.\n                '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n                '&amp;api=serialize'.\n                '&amp;act=wordpress';\n\n$post = array('insid' =&gt; '26_31793',\n              'type' =&gt; 'themes',\n              'slug' =&gt; 'twentytwenty\/style.css',\n              'delete' =&gt; '1'\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">Install Theme <\/h5>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>wordpress<\/td><td>The value should be \u201cwordpress\u201d to load WordPress Manager.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>insid<\/td><td>26_31793<\/td><td>The installation ID for which you want to install the theme. It can be fetched from&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.softaculous.com\/docs\/api\/api\/#list-wordpress-installations\" target=\"_blank\">List WordPress Installations<\/a><\/td><\/tr><tr><td>type<\/td><td>themes<\/td><td>The value should be &#8220;themes&#8221;<\/td><\/tr><tr><td>slug<\/td><td> twentytwenty <\/td><td>The value is the slug for the theme from wordpress.org to be installed.<\/td><\/tr><tr><td>install<\/td><td>1<\/td><td>This shall install the theme <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Example<\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n                'api_key=TESTAPIKEY'.\n                '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n                '&amp;api=serialize'.\n                '&amp;act=wordpress';\n\n$post = array('insid' =&gt; '26_31793',\n              'type' =&gt; 'themes',\n              'slug' =&gt; 'twentytwenty',\n              'install' =&gt; '1'\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">Upload &amp; Install Theme <\/h5>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>wordpress<\/td><td>The value should be \u201cwordpress\u201d to load WordPress Manage.<\/td><\/tr><tr><td>upload<\/td><td>1<\/td><td>The value should be 1 to perform the&nbsp;action of upload &amp; install theme.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>insid<\/td><td>26_31793<\/td><td>The installation ID for which you want to install the plugin. It can be fetched from&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.softaculous.com\/docs\/api\/api\/#list-wordpress-installations\" target=\"_blank\">List WordPress Installations<\/a><\/td><\/tr><tr><td>type<\/td><td>themes<\/td><td>The value should be &#8220;themes&#8221;<\/td><\/tr><tr><td>custom_file<\/td><td>\/path\/to\/twentytwenty.1.8.zip<\/td><td>The value is the full path on your server for theme zip file to be installed<\/td><\/tr><tr><td>activate<\/td><td>1<\/td><td>This is to activate the theme upon installation<br>0 &#8211; If you do not want to activate the theme<br>1- If you want to activate the theme<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com\/index.php?'.\n                'api_key=TESTAPIKEY'.\n                '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n                '&amp;api=serialize'.\n                '&amp;act=wordpress'.\n                '&amp;upload=1';\n\n\/\/ Plugin zip file\n$file_name_with_full_path = 'twentytwenty.1.8.zip';\n\n\/\/ php 5.5+\nif (function_exists('curl_file_create')) { \n  $cFile = curl_file_create($file_name_with_full_path);\n} else { \n  $cFile = '@' . realpath($file_name_with_full_path);\n}\n\n$post = array('insid' =&gt; '26_31793',\n              'type' =&gt; 'themes',\n              'activate' =&gt; '1',\n              'custom_file' =&gt; $cFile\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, $post);\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Admin Panel API<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">List Users<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>listuser<\/td><td>This will trigger the list users function.<\/td><\/tr><tr><td>reslen<\/td><td>all<\/td><td>Number of results to be returned. Default is 100. You can pass&nbsp;<strong>all<\/strong>&nbsp;to get the list of all existing users.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=listuser';\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Add User<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>adduser<\/td><td>This will trigger the add user function.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>saveuser<\/td><td>1<\/td><td>This will trigger the add user function<\/td><\/tr><tr><td>username<\/td><td>testuser<\/td><td>This is the username of the user you want to add.&nbsp;<strong>Note&nbsp;:<\/strong>&nbsp;Only lowercase characters are allowed in username<\/td><\/tr><tr><td>user_email<\/td><td>admin@example.com<\/td><td>This is the email of the user you want to add<\/td><\/tr><tr><td>num_users<\/td><td>0<\/td><td>(OPTIONAL) Leave this 0 if this is user is an enduser. If Reseller add the number of users they should be allowed to create<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=adduser';\n\n\n$post = array('saveuser' =&gt; 1,\n\t\t'username' =&gt; 'testuser',\n\t\t'user_email' =&gt; 'admin@example.com',\n\t\t'num_users' =&gt; '0');\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Edit User<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>listuser<\/td><td>This will trigger the edit user function.<\/td><\/tr><tr><td>nof<\/td><td>10<\/td><td>This will be the updated number of users to be allotted (Can be used for Reseller users only)<\/td><\/tr><tr><td>email<\/td><td>email@xyz.com<\/td><td>This will be the Email ID to be set for the user<\/td><\/tr><tr><td>updateuser<\/td><td>newuser<\/td><td>This is the new username that you want to set (Can be changed for non-reseller users only)<\/td><\/tr><tr><td>moduser<\/td><td>testuser<\/td><td>This is the username of the user you want to edit<\/td><\/tr><tr><td>modowner<\/td><td>testuser<\/td><td>This is the owner of the reseller. In case of Resellers they are owned by themselves<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;email=email@xyz.com'.\n\t\t\t'&amp;act=listuser'.\n\t\t\t'&amp;nof=10'.\n\t\t\t'&amp;updateuser=newuser'.\n\t\t\t'&amp;moduser=testuser'.\n\t\t\t'&amp;modowner=testuser';\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Delete User<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>listuser<\/td><td>This will trigger the delete user function.<\/td><\/tr><tr><td>deluser<\/td><td>testuser<\/td><td>This will be the username of the user to be deleted<\/td><\/tr><tr><td>delowner<\/td><td>root<\/td><td>This is the owner username of the user you want to delete. Default owner is root if the user is not created by a reseller.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=listuser'.\n\t\t\t'&amp;deluser=testuser'.\n\t\t\t'&amp;delowner=root';\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Transfer Domain<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th class=\"has-text-align-left\" data-align=\"left\">Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">act<\/td><td>transfer_domain<\/td><td>This will trigger the transfer domain function.<\/td><\/tr><tr><td><strong>POST<\/strong><\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">from_user<\/td><td>userA<\/td><td>User name of the user whose domain will be transferred.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">domain<\/td><td>example.com<\/td><td>Domain to be transferred.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">to_user<\/td><td>userB<\/td><td>User name of the user to whom the domain will be transferred.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">transfer_domain<\/td><td>1<\/td><td>Default process trigger value.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=transfer_domain';\n\n$post = array('from_user' =&gt; 'userA',\n\t\t'domain' =&gt; 'userB',\n\t\t'to_user' =&gt; 'userB',\n\t\t'transfer_domain' =&gt; 1);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">List Installations (Admin Panel)<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>installations<\/td><td>This will trigger the list installations function.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>listinstallations<\/td><td>1<\/td><td>This will trigger the listinstallations function<\/td><\/tr><tr><td>users<\/td><td>root;user1;<\/td><td>(Optional) Pass&nbsp;<strong>;<\/strong>&nbsp;separated list of users to filter installations by users<\/td><\/tr><tr><td>scripts<\/td><td>WordPress;Joomla;<\/td><td>(Optional) Pass&nbsp;<strong>;<\/strong>&nbsp;separated list of scripts to filter installations by scripts<\/td><\/tr><tr><td>domains<\/td><td>example.com;example2.com;<\/td><td>(Optional) Pass&nbsp;<strong>;<\/strong>&nbsp;separated list of domains to filter installations by domains<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=installations';\n\n$post = array('listinstallations' =&gt; 1,\n              \/\/'users' =&gt; 'root;user1;', \/\/ Pass this if you want the installation list of specific users\n              \/\/'scripts' =&gt; 'WordPress;Joomla;', \/\/ Pass this if you want the installation list of specific scripts\n              \/\/'domains' =&gt; 'example.com;example2.com;', \/\/ Pass this if you want the installation list of specific domains\n              );\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res)){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">List Outdated Installations (Admin Panel)<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>installations<\/td><td>This will trigger the list installations function.<\/td><\/tr><tr><td>show<\/td><td>outdated<\/td><td>This will trigger the outdated installations list function<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>listinstallations<\/td><td>1<\/td><td>This will trigger the listinstallations function<\/td><\/tr><tr><td>users<\/td><td>root;user1;<\/td><td>(Optional) Pass&nbsp;<strong>;<\/strong>&nbsp;separated list of users to filter installations by users<\/td><\/tr><tr><td>scripts<\/td><td>WordPress;Joomla;<\/td><td>(Optional) Pass&nbsp;<strong>;<\/strong>&nbsp;separated list of scripts to filter installations by scripts<\/td><\/tr><tr><td>domains<\/td><td>example.com;example2.com;<\/td><td>(Optional) Pass&nbsp;<strong>;<\/strong>&nbsp;separated list of domains to filter installations by domains<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=installations'.\n\t\t\t'&amp;show=outdated';\n\n$post = array('listinstallations' =&gt; 1,\n              \/\/'users' =&gt; 'root;user1;', \/\/ Pass this if you want the installation list of specific users\n              \/\/'scripts' =&gt; 'WordPress;Joomla;', \/\/ Pass this if you want the installation list of specific scripts\n              \/\/'domains' =&gt; 'example.com;example2.com;', \/\/ Pass this if you want the installation list of specific domains\n              );\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res)){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">List Real Version (Admin Panel)<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>installations<\/td><td>This will trigger the list installations function.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>listinstallations<\/td><td>1<\/td><td>This will trigger the listinstallations function<\/td><\/tr><tr><td>only_realversion<\/td><td>1<\/td><td>This will trigger the only_realversion function to list only installations in which the version in Softaculous records do not match with actual installation version<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=installations';\n\n$post = array('listinstallations' =&gt; 1, 'only_realversion' =&gt; 1);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res)){\n\n\tprint_r($res);\n\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Update Real Version (Admin Panel)<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>installations<\/td><td>This will trigger the list installations function.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>listinstallations<\/td><td>1<\/td><td>This will trigger the listinstallations function<\/td><\/tr><tr><td>only_realversion<\/td><td>1<\/td><td>This will trigger the only_realversion function to list only installations in which the version in Softaculous records do not match with actual installation version<\/td><\/tr><tr><td>list<\/td><td>array(&#8216;username-26_68351&#8217;, &#8216;username-26_68352&#8217;)<\/td><td>This will contain the array list for the installations which needs to be updated in Softaculous record(you will need to pass installation id which you will get from Real Version response in&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#List_Real_Version_.28Admin_Panel.29\">List Real Version<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=installations';\n\n$post = array('listinstallations' =&gt; 1, 'only_realversion' =&gt; 1, 'list' =&gt; array('username-26_68351', 'username-26_68352'));\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res)){\n\n\tprint_r($res);\n\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Installation Statistics (Admin Panel)<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>ins_statistics<\/td><td>This will trigger the installation statistics function<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=ins_statistics';\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Add Plan (ACL)<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>addplans<\/td><td>This will trigger the add plan function<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>saveplan<\/td><td>1<\/td><td>This will trigger the add plan function<\/td><\/tr><tr><td>planname<\/td><td>plan1<\/td><td>Plan name for the new plan being created<\/td><\/tr><tr><td>resellers_abc<\/td><td>1<\/td><td>(Optional) Use this only if you want to add a reseller to the plan.&nbsp;<strong>resellers_<\/strong>&nbsp;is the prefix for adding a reseller and&nbsp;<strong>abc<\/strong>&nbsp;is the name of the reseller (that should already exist). Similarly pass a separate key for each reseller you want to add to the plan.<\/td><\/tr><tr><td>users_xyz<\/td><td>1<\/td><td>(Optional) Use this only if you want to add a user to the plan.&nbsp;<strong>users_<\/strong>&nbsp;is the prefix for adding a user and&nbsp;<strong>xyz<\/strong>&nbsp;is the name of the user (that should already exist). Similarly pass a separate key for each user you want to add to the plan.<\/td><\/tr><tr><td>scripts_26<\/td><td>1<\/td><td>Use this to pass the scripts to be added to the plan.&nbsp;<strong>scripts_<\/strong>&nbsp;is the prefix for adding a script and&nbsp;<strong>26<\/strong>&nbsp;is the id of the script to be added. Similarly pass a separate key for each script you want to add to the plan.&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#List_Scripts\">Get Script ids<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=addplans';\n\n$post = array('saveplan' =&gt; '1',\n\t'planname' =&gt; 'plan1',\n\t'resellers_abc' =&gt; '1',\n\t'users_xyz' =&gt; '1',\n\t'scripts_26' =&gt; '1', \/\/ Add WordPress\n\t'scripts_413' =&gt; '1' \/\/ Add Joomla\n); \n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Edit Plan (ACL)<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>editplans<\/td><td>This will trigger the edit plan function<\/td><\/tr><tr><td>plan<\/td><td>plan1<\/td><td>This will be the plan name of the plan you want to edit<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>saveplan<\/td><td>1<\/td><td>This will trigger the add plan function<\/td><\/tr><tr><td>planname<\/td><td>plan1<\/td><td>Plan name for the new plan being created<\/td><\/tr><tr><td>resellers_abc<\/td><td>1<\/td><td>(Optional) Use this only if you want to assign a reseller to the plan.&nbsp;<strong>resellers_<\/strong>&nbsp;is the prefix for adding a reseller and&nbsp;<strong>abc<\/strong>&nbsp;is the name of the reseller (that should already exist). Similarly pass a separate key for each reseller you want to assign to the plan.<\/td><\/tr><tr><td>users_xyz<\/td><td>1<\/td><td>(Optional) Use this only if you want to assign a user to the plan.&nbsp;<strong>users_<\/strong>&nbsp;is the prefix for assigning a user and&nbsp;<strong>xyz<\/strong>&nbsp;is the name of the user (that should already exist). Similarly pass a separate key for each user you want to assign to the plan.<\/td><\/tr><tr><td>scripts_413<\/td><td>1<\/td><td>Use this to pass the scripts to be assigned to the plan.&nbsp;<strong>scripts_<\/strong>&nbsp;is the prefix for assigning a script and&nbsp;<strong>26<\/strong>&nbsp;is the id of the script to be assigned. Similarly pass a separate key for each script you want to assign to the plan.&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#List_Scripts\">Get Script ids<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=editplans'.\n\t\t\t'&amp;plan=plan1';\n\n$post = array('saveplan' =&gt; '1',\n\t'planname' =&gt; 'plan1',\n\t'resellers_abc' =&gt; '1',\n\t'users_xyz' =&gt; '1',\n\t'scripts_543' =&gt; '1', \/\/ Add Drupal\n\t'scripts_72' =&gt; '1' \/\/ Add PrestaShop\n); \n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Delete Plan (ACL)<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>plans<\/td><td>This is the default plans page act<\/td><\/tr><tr><td>delete<\/td><td>plan1<\/td><td>This will be the plan name of the plan you want to delete<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=plans'.\n\t\t\t'&amp;delete=plan1';\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Enable \/ Disable Script<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>&#8211;<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>softwares<\/td><td>This will trigger the enable\/disable script function<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>updatesoft<\/td><td>Update Settings<\/td><td>This will trigger the submit function for enabling\/disabling the scripts<\/td><\/tr><tr><td>soft_26<\/td><td>1<\/td><td>Use it to Enable Script from Admin Panel.&nbsp;<strong>soft_<\/strong>&nbsp;is the prefix for enabling a script and&nbsp;<strong>26<\/strong>&nbsp;is the id of the script to be enabled. Similarly pass a separate key for each script you want to enable.&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#List_Scripts\">Get Script ids<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"alert alert-info\"><strong>Note:<\/strong>&nbsp;If you have 10 scripts Enabled. You want to Enable 1 more script you will need to pass all 11 scripts id in the POST data for it to Enable the script. The scripts which are not posted will be disabled.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n\t\t\t'api_key=TESTAPIKEY'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=softwares';\n\n$post = array('updatesoft' =&gt; 'Update Settings',\n\t'soft_26' =&gt; 1, \/\/ WordPress\n\t'soft_18' =&gt; 1, \/\/ Joomla 2.5\n\t'soft_543' =&gt; 1, \/\/ Drupal 8\n\t'soft_11' =&gt; 1, \/\/ Open Blog\n\t'soft_3' =&gt; 1, \/\/ Serendipity\n\t'soft_34' =&gt; 1, \/\/ Dotclear\n\t'soft_14' =&gt; 1, \/\/ b2evolution\n\t'soft_470' =&gt; 1 \/\/ Ghost\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">WordPress Admin Set<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Create Admin Set<\/h4>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>manage_sets<\/td><td>The value should be \u201cmanage_sets\u201d to perform the&nbsp;<strong>act<\/strong>ion of creating a set.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>set_input<\/td><td>SET-NAME<\/td><td>The value must be name of your set<\/td><\/tr><tr><td>add_sets<\/td><td>1<\/td><td>This will trigger the addition of set<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n                    'api_key=TESTAPIKEY'.\n                    '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t    '&amp;api=serialize'.\n\t\t    '&amp;act=manage_sets';\n\n$post = array('set_input' =&gt; 'SET-NAME', \/\/Name of your set\n              'add_sets' =&gt; '1'\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\ncurl_setopt($ch, CURLOPT_POST, 1);\ncurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n\n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n\n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n\n\/\/ Done ?\nif(!empty($res['done'])){\n\nprint_r($res);\n\n\/\/ Error\n}else{\n\necho 'Some error occured';\nprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Add Plugin (Admin Panel)<\/h4>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>manage_sets<\/td><td>The value should be \u201cmanage_sets\u201d to perform the&nbsp;<strong>act<\/strong>ion of installing plugin to a set.<\/td><\/tr><tr><td>sets_name<\/td><td>SET-NAME_admin<\/td><td>The value should be name of your set and append&nbsp;<strong>_admin&nbsp;<\/strong>to the set name for admin sets.<\/td><\/tr><tr><td>plugins<\/td><td>1<\/td><td>The value of plugin must be 1 to install plugin in set<\/td><\/tr><tr><td>add_plugins_themes_data<\/td><td>1<\/td><td>The add_plugins_themes_data is to add the plugin to the set.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>add_plugins_themes_data_slugs<\/td><td>An array with the plugin slugs<\/td><td>An array with the plugin slugs that you want to add.<\/td><\/tr><tr><td>add_plugins_themes_data_names<\/td><td>An array with the plugin name<\/td><td>An array with the plugin names that you want to add<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n                    'api_key=TESTAPIKEY'.\n                    '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n                    '&amp;api=serialize'.\n                    '&amp;sets_name=SET-NAME_admin'.\n                    '&amp;plugins=1'.\n                    '&amp;add_plugins_themes_data=1'.\n\t            '&amp;act=manage_sets';\n\n$post = array('add_plugins_themes_data_slugs' =&gt; array('duplicator'), \/\/Slug name\n              'add_plugins_themes_data_names' =&gt; array('Duplicator \u2013 WordPress Migration Plugin') \/\/Plugin name\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Add Themes (Admin Panel)<\/h4>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>manage_sets<\/td><td>The value should be \u201cmanage_sets\u201d to perform the&nbsp;<strong>act<\/strong>ion of installing theme to a set.<\/td><\/tr><tr><td>sets_name<\/td><td>SET-NAME_admin<\/td><td>The value should be name of your set and append&nbsp;<strong>_admin&nbsp;<\/strong>to the set name for admin sets.<\/td><\/tr><tr><td>themes<\/td><td>1<\/td><td>The value of themes must be 1 to install theme in set<\/td><\/tr><tr><td>add_plugins_themes_data<\/td><td>1<\/td><td>The add_plugins_themes_data is to add the theme to the set.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>add_plugins_themes_data_slugs<\/td><td>An array with the theme slugs<\/td><td>An array with the theme slugs that you want to add.<\/td><\/tr><tr><td>add_plugins_themes_data_names<\/td><td>An array with the theme names<\/td><td>An array with the theme names that you want to add<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n                    'api_key=TESTAPIKEY'.\n                    '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t            '&amp;api=serialize'.\n                    '&amp;sets_name=SET-NAME_admin'.\n                    '&amp;themes=1'.\n                    '&amp;add_plugins_themes_data=1'.\n\t            '&amp;act=manage_sets';\n\n$post = array('add_plugins_themes_data_slugs' =&gt; array('open-shop'), \/\/Slug name\n              'add_plugins_themes_data_names' =&gt; array('Open Shop') \/\/Theme name\n);\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Remove Set (Admin Panel)<\/h4>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>manage_sets<\/td><td>The value should be \u201cmanage_sets\u201d to perform the&nbsp;<strong>act<\/strong>ion of removing a set.<\/td><\/tr><tr><td>remove_sets<\/td><td>1<\/td><td>This will trigger the removal process of set.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>sets<\/td><td>An array with the set names<\/td><td>An array with the set names you want to remove and append the&nbsp;<strong>_admin&nbsp;<\/strong>to the set name for admin sets.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n                    'api_key=TESTAPIKEY'.\n                    '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t    '&amp;api=serialize'.\n                    '&amp;remove_sets=1'.\n\t\t    '&amp;act=manage_sets';\n\n$post = array('sets' =&gt; array('SET-NAME_admin'), \/\/Set name\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Remove Plugin from Set (Admin Panel)<\/h4>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>manage_sets<\/td><td>The value should be \u201cmanage_sets\u201d to perform the&nbsp;<strong>act<\/strong>ion of removing plugin from set.<\/td><\/tr><tr><td>set_name<\/td><td>SET-NAME_admin<\/td><td>The value should be name of your set from which plugin is to be removed and also append&nbsp;<strong>_admin&nbsp;<\/strong>to the set name for admin sets.<\/td><\/tr><tr><td>plugins<\/td><td>1<\/td><td>The value must be 1 to remove plugin from set.<\/td><\/tr><tr><td>plugins_themes_to_remove<\/td><td>duplicator<\/td><td>The slug name of plugin<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n                    'api_key=TESTAPIKEY'.\n                    '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t    '&amp;api=serialize'.\n                    '&amp;set_name=SET-NAME_admin'.\n                    '&amp;plugins=1'.\n                    '&amp;plugins_themes_to_remove=duplicator'.\n                    '&amp;act=manage_sets';\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\ncurl_setopt($ch, CURLOPT_POST, 1);\ncurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n\n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n\n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n\n\/\/ Done ?\nif(!empty($res['done'])){\n\nprint_r($res);\n\n\/\/ Error\n}else{\n\necho 'Some error occured';\nprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Remove Theme from Set (Admin Panel)<\/h4>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>manage_sets<\/td><td>The value should be \u201cmanage_sets\u201d to perform the&nbsp;<strong>act<\/strong>ion of removing theme from set.<\/td><\/tr><tr><td>set_name<\/td><td>SET-NAME_admin<\/td><td>The value should be name of your set from which theme is to be removed and also append&nbsp;<strong>_admin&nbsp;<\/strong>to the set name for admin sets.<\/td><\/tr><tr><td>themes<\/td><td>1<\/td><td>The value must be 1 to remove theme from set.<\/td><\/tr><tr><td>plugins_themes_to_remove<\/td><td>open-shop<\/td><td>The slug name of theme<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n                    'api_key=TESTAPIKEY'.\n                    '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t    '&amp;api=serialize'.\n                    '&amp;set_name=SET-NAME_admin'.\n                    '&amp;themes=1'.\n                    '&amp;plugins_themes_to_remove=open-shop'.\n\t            '&amp;act=manage_sets';\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Pre-Select Set (Admin Panel)<\/h4>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>manage_sets<\/td><td>The value should be \u201cmanage_sets\u201d to perform the&nbsp;<strong>act<\/strong>ion of removing a set.<\/td><\/tr><tr><td>set_name<\/td><td>SET-NAME_admin<\/td><td>The value should be name of your set which to be pre-selected on install form and also append&nbsp;<strong>_admin&nbsp;<\/strong>to the set name for admin sets.<\/td><\/tr><tr><td>default_value<\/td><td>1<\/td><td>This will pre-select the set.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/The URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n                    'api_key=TESTAPIKEY'.\n                    '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t    '&amp;api=serialize'.\n                    '&amp;set_name=SET-NAME_admin'.\n                    '&amp;default_value=1'.\n\t            '&amp;act=manage_sets';\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\n\tcurl_setopt($ch, CURLOPT_POST, 1);\n\tcurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n \n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n \n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n \n\/\/ Done ?\nif(!empty($res['done'])){\n\n\tprint_r($res);\n\n\/\/ Error\n}else{\n\n\techo 'Some error occured';\n\tprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Add Custom Script<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>customscripts<\/td><td>The value should be \u201ccustomscripts\u201d to perform the&nbsp;<strong>act<\/strong>ion of creating a custom script.<\/td><\/tr><tr><td>sact<\/td><td>add<\/td><td>The value should be \u201cadd\u201d to add custom script.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>csname<\/td><td>CUSTOM-SCRIPT-NAME<\/td><td>The value must be name of your custom script<\/td><\/tr><tr><td>softname<\/td><td>custom-script<\/td><td>The value must be folder name of the custom script package<\/td><\/tr><tr><td>desc<\/td><td>Description<\/td><td>The value must be the description of your custom script<\/td><\/tr><tr><td>ver<\/td><td>1.0<\/td><td>The value must be the version of your custom script<\/td><\/tr><tr><td>cat<\/td><td>Category<\/td><td>The value must be the category of your custom script. For example, Blogs, Ecommerce etc.<\/td><\/tr><tr><td>add_submit<\/td><td>1<\/td><td>This will trigger the addition of your custom script<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"example-41\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n                    'api_key=TESTAPIKEY'.\n                    '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t    '&amp;api=serialize'.\n\t\t    '&amp;act=customscripts'.\n                    '&amp;sact=add';\n\n$post = array('csname' =&gt; 'CUSTOM SCRIPT', \/\/Name of your custom script\n              'softname' =&gt; 'custom', \/\/Name of the custom script folder\n              'desc' =&gt; 'My Custom Script', \/\/Description of custom script\n              'ver' =&gt; '1.0', \/\/Version of custom script\n              'cat' =&gt; 'blogs', \/\/Category\n              'add_submit' =&gt; '1'\n );\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\ncurl_setopt($ch, CURLOPT_POST, 1);\ncurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n\n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n\n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n\n\/\/ Done ?\nif(!empty($res['done'])){\n\nprint_r($res);\n\n\/\/ Error\n}else{\n\necho 'Some error occured';\nprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Edit Custom Script<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>customscripts<\/td><td>The value should be \u201ccustomscripts\u201d to perform the&nbsp;<strong>act<\/strong>ion of editing a custom script.<\/td><\/tr><tr><td>sact<\/td><td>edit<\/td><td>The value should be \u201cedit\u201d to edit the custom script.<\/td><\/tr><tr><td>sid<\/td><td>10001<\/td><td>Here 10001 is the sid or script id of your custom script. The sid can be fetch from&nbsp;<a href=\"https:\/\/www.softaculous.com\/docs\/api\/remote-api\/#list-custom-scripts\">List Custom Scripts<\/a><\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>csname<\/td><td>CUSTOM-SCRIPT_NAME<\/td><td>The value must be name of your custom script<\/td><\/tr><tr><td>softname<\/td><td>custom-script<\/td><td>The value must be folder name of the custom script package<\/td><\/tr><tr><td>desc<\/td><td>Description<\/td><td>The value must be the description of your custom script<\/td><\/tr><tr><td>ver<\/td><td>1.0<\/td><td>The value must be the version of your custom script<\/td><\/tr><tr><td>cat<\/td><td>Category<\/td><td>The value must be the category of your custom script. For example, Blogs, Ecommerce etc.<\/td><\/tr><tr><td>parent<\/td><td>10002<\/td><td>(OPTIONAL) \u2013 The value must be sid of your parent script, in case if you want to set your custom script as child. The parent sid can be fetch from&nbsp;<a href=\"https:\/\/www.softaculous.com\/docs\/api\/remote-api\/#list-custom-scripts\">List Custom Scripts<\/a><\/td><\/tr><tr><td>edit_submit<\/td><td>1<\/td><td>This will trigger the action of editing the custom script<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"example-40\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n                    'api_key=TESTAPIKEY'.\n                    '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t    '&amp;api=serialize'.\n\t\t    '&amp;act=customscripts'.\n                    '&amp;sact=edit'.\n                    '&amp;sid=10001';\n\n$post = array('csname' =&gt; 'CUSTOM SCRIPT', \/\/Name of your custom script\n              'softname' =&gt; 'custom', \/\/Name of the custom script folder\n              'desc' =&gt; 'My Custom Script', \/\/Description of custom script\n              'ver' =&gt; '1.0', \/\/Version of custom script\n              'cat' =&gt; 'blogs', \/\/Category\n              'parent' =&gt; '10002', \/\/Parent sid\n              'edit_submit' =&gt; '1'\n );\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\ncurl_setopt($ch, CURLOPT_POST, 1);\ncurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n\n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n\n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n\n\/\/ Done ?\nif(!empty($res['done'])){\n\nprint_r($res);\n\n\/\/ Error\n}else{\n\necho 'Some error occured';\nprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Delete Custom Script<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>customscripts<\/td><td>The value should be \u201ccustomscripts\u201d to perform the&nbsp;<strong>act<\/strong>ion of deleting a custom script.<\/td><\/tr><tr><td>remid<\/td><td>10001<\/td><td>The value should be sid of the custom script you want to delete. You can fetch the sid from&nbsp;<a href=\"https:\/\/www.softaculous.com\/docs\/api\/remote-api\/#list-custom-scripts\">List Custom Scripts<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"example-40\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n                    'api_key=TESTAPIKEY'.\n                    '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t    '&amp;api=serialize'.\n\t\t    '&amp;act=customscripts'.\n                    '&amp;remid=10001';\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\ncurl_setopt($ch, CURLOPT_POST, 1);\ncurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n\n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n\n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n\n\/\/ Done ?\nif(!empty($res['done'])){\n\nprint_r($res);\n\n\/\/ Error\n}else{\n\necho 'Some error occured';\nprint_r($res['error']);\n\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">List Custom Scripts<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table><tbody><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><tr><td>Authentication<\/td><td>\u2013<\/td><td>You can use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Remote_API#Authenticating\">Admin Authentication<\/a>&nbsp;methods.<\/td><\/tr><tr><td>act<\/td><td>customscripts<\/td><td>The value should be \u201ccustomscripts\u201d to perform the&nbsp;<strong>act<\/strong>ion of listing the custom scripts.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"example-40\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">\/\/ URL\n$url = 'http:\/\/your.softaculous.com:2006\/index.php?'.\n                    'api_key=TESTAPIKEY'.\n                    '&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t    '&amp;api=serialize'.\n\t\t    '&amp;act=customscripts';\n\n\/\/ Set the curl parameters.\n$ch = curl_init();\ncurl_setopt($ch, CURLOPT_URL, $url);\ncurl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\/\/ Turn off the server and peer verification (TrustManager Concept).\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);\n\nif(!empty($post)){\ncurl_setopt($ch, CURLOPT_POST, 1);\ncurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\n}\n\n\/\/ Get response from the server.\n$resp = curl_exec($ch);\n\n\/\/ The response will hold a string as per the API response method. In this case its PHP Serialize\n$res = unserialize($resp);\n\n\/\/ Done ?\nif(!empty($res)){\n\nprint_r($res);\n\n\/\/ Error\n}else{\n\necho 'Some error occured';\nprint_r($res['error']);\n\n}<\/pre>\n","protected":false},"featured_media":0,"parent":1683,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","docs_category":[],"class_list":["post-2240","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/2240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/comments?post=2240"}],"version-history":[{"count":53,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/2240\/revisions"}],"predecessor-version":[{"id":5510,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/2240\/revisions\/5510"}],"up":[{"embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/1683"}],"wp:attachment":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/media?parent=2240"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs_category?post=2240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}