{"id":2241,"date":"2019-01-02T10:02:25","date_gmt":"2019-01-02T10:02:25","guid":{"rendered":"http:\/\/www.softaculous.com\/blog\/docs\/api\/enterprise-api\/"},"modified":"2021-09-27T14:01:16","modified_gmt":"2021-09-27T14:01:16","slug":"enterprise-api","status":"publish","type":"docs","link":"https:\/\/www.softaculous.com\/blog\/docs\/api\/enterprise-api\/","title":{"rendered":"Enterprise API"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Softaculous Enterprise API<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>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.<\/li><li>If you have a Panel written in PHP, there is a&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_SDK\">PHP SDK Class<\/a>&nbsp;written for doing various activities like Installing Apps, Upgrading installations, etc. You can easily start using the SDK functions like install(), updgrade(), etc.<\/li><li>Softaculous Enterprise has a Admin Panel to perform&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_API#Admin_Functions\">Admin Functions<\/a>&nbsp;like Adding a Domain, Deleting a Domain, etc and has a Enduser Panel to perform&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_API#Enduser_Functions\">Enduser Functions<\/a>&nbsp;like Install, Remove, Upgrade the scripts.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Admin Functions<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Admin functions are accessible only from port 2006 of your Softaculous Enterprise Server. So make sure the url accessed has the port 2006.<\/li><li>Only root users and resellers can access Admin Functions.<\/li><\/ul>\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 Installer.<\/td><\/tr><tr><td>api_pass<\/td><td>Random String<\/td><td>API Key is 32 Characters random string provided by Installer.<\/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 Enterprise Interface.<\/td><\/tr><tr><td>api<\/td><td>serialize, json or xml (Default: serialize)<\/td><td>Softaculous Enterprise will return the output in the format specfied.<\/td><\/tr><tr><th><strong>POST (Optional)<\/strong><\/th><\/tr><tr><td>useuser (Optional)<\/td><td>Array<\/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 Enterprise Interface.<\/td><\/tr><tr><td>username<\/td><td>User Name to add or use. If username is already present, Softaculous will use it.<\/td><\/tr><tr><td>uid<\/td><td>UID of the user.<\/td><\/tr><tr><td>gid<\/td><td>GID of the user.<\/td><\/tr><tr><td>add_domain (Optional)<\/td><td>Array<\/td><td>As an Admin you can create a domain of a particular user.<\/td><\/tr><tr><td>domain<\/td><td>The Domain name<\/td><\/tr><tr><td>username<\/td><td>The username of the User who owns the domain<\/td><\/tr><tr><td>path<\/td><td>The web accessible folder\/path where your installations will be made. It should be accessible by Softaculous over NFS. Web accessible directory should be owned by user specified.<\/td><\/tr><tr><td>replace_path<\/td><td>This &#8220;Replace Path&#8221; will be replaced with empty in PATH to get the correct path according to scripts. According to the scripts PATH mentioned above is not correct as we are on NFS. We have to generate a new path with respect to scripts.<\/td><\/tr><tr><td>backup_dir<\/td><td>Backup Directory. Softaculous will create backups in this folder. This should be accessible by Softaculous over NFS.<\/td><\/tr><tr><td>data_dir<\/td><td>Full path of the Data Directory. Some scripts like Elgg, Moodle, etc need a non web accessible folder. Specify accordingly that it can be accessed by Softaculous too which is on NFS.<\/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:\/\/enterprise.softaculous.com:2006\/index.php?'.\n\t\t\t'api_key=TESTAPIKEYAPIAPI'.\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\">Creating User Session Example<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>This authentication will allow admin to perform actions such as install, upgrade, remove, etc as a user.<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">$url = 'http:\/\/enterprise.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEYAPIAPI'.\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<h4 class=\"wp-block-heading\">Admin acting as User Example<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>This authentication will allow admin to perform actions such as install, upgrade, remove, etc as a user.<\/li><li>User and Domain will be created if specified.<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-preformatted php hljs\">$url = 'http:\/\/enterprise.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$post = array('useuser' =&gt; array(\n\t\t\t\t'username' =&gt; 'username',\n\t\t\t\t'uid' =&gt; '505',\n\t\t\t\t'gid' =&gt; '505',\n\t\t\t\t),\n              'add_domain' =&gt; array(\n\t\t\t  'domain' =&gt; 'domain.com',\n\t\t\t  'username' =&gt; 'username',\n\t\t\t  'path' =&gt; '\/NFS\/a\/home\/user\/public_html',\n\t\t\t  'replace_path' =&gt; '\/NFS\/a',\n\t\t\t  'backup_dir' =&gt; '\/NFS\/a\/home\/user\/backupdir',\n\t\t\t  'data_dir' =&gt; '\/NFS\/a\/home\/user\/datadir'\n              )\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 Domains<\/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>Use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_API#Authenticating\">Admin Authentication<\/a>&nbsp;method.<\/td><\/tr><tr><td>act<\/td><td>listdomains<\/td><td>The value should be &#8220;listdomains&#8221; only to list the 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\">\/\/ The URL\n$url = 'http:\/\/enterprise.softaculous.com:2006\/index.php?'.\n\t\t\t'api_key=TESTAPIKEYAPIAPI'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=listdomains';\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\">Add a Domain<\/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>Use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_API#Authenticating\">Admin Authentication<\/a>&nbsp;method.<\/td><\/tr><tr><td>act<\/td><td>adddomain<\/td><td>The value should be &#8220;adddomain&#8221; only to list the domains.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>domain<\/td><td>example.com<\/td><td>Name of the domain to be added.<\/td><\/tr><tr><td>username<\/td><td>username<\/td><td>User which owns\/has access to the domain.<\/td><\/tr><tr><td>path<\/td><td>\/NFS\/a\/home\/user\/public_html<\/td><td>It is the web accessible folder\/path where your installations will be made. It should be accessible by Softaculous over NFS. Web accessible directory should be owned by user specified.<\/td><\/tr><tr><td>backup_dir<\/td><td>\/NFS\/a\/home\/user\/backups<\/td><td>It is the Backup Directory. Softaculous will create backups in this folder. This should be accessible by Softaculous over NFS.<\/td><\/tr><tr><td>replace_path<\/td><td>\/NFS\/a<\/td><td>This &#8220;Replace Path&#8221; will be replaced with empty in PATH to get the correct path according to scripts. According to the scripts PATH mentioned above is not correct as we are on NFS. We have to generate a new path with respect to scripts.<\/td><\/tr><tr><td>data_dir<\/td><td>\/NFS\/a\/home\/user\/datadir<\/td><td>Full path of the Data Directory. Some scripts like Elgg, Moodle, etc need a non web accessible folder. Specify accordingly that it can be accessed by Softaculous too which is on NFS.<\/td><\/tr><tr><td>savedomain<\/td><td>1<\/td><td>This will trigger the Softaculous to add the domain.<\/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:\/\/enterprise.softaculous.com:2006\/index.php?'.\n\t\t\t'api_key=TESTAPIKEYAPIAPI'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=adddomain';\n\n$post = array('domain' =&gt; 'example.com',\n              'username' =&gt; 'username',\n              'path' =&gt; '\/NFS\/a\/home\/user\/public_html',\n              'replace_path' =&gt; '\/NFS\/a',\n              'backup_dir' =&gt; '\/NFS\/a\/home\/user\/backups',\n              'data_dir' =&gt; '\/NFS\/a\/home\/user\/datadir',\n              'savedomain' =&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\">Delete a Domain<\/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>Use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_API#Authenticating\">Admin Authentication<\/a>&nbsp;method.<\/td><\/tr><tr><td>act<\/td><td>listdomains<\/td><td>The value should be &#8220;listdomains&#8221; for softaculous to perform the&nbsp;<strong>act<\/strong>ion of deleting a domain<\/td><\/tr><tr><td>delowner<\/td><td>owner<\/td><td>It is the owner of the user<\/td><\/tr><tr><td>deluser<\/td><td>username<\/td><td>It is the user of the domain<\/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:\/\/enterprise.softaculous.com:2006\/index.php?'.\n\t\t\t'api_key=TESTAPIKEYAPIAPI'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;domain=domain.com'.\n\t\t\t'&amp;delowner=root'.\n\t\t\t'&amp;deluser=username';\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 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>Use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_API#Authenticating\">Admin Authentication<\/a>&nbsp;method.<\/td><\/tr><tr><td>act<\/td><td>listuser<\/td><td>The value should be &#8220;listuser&#8221; only to list the 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\">\/\/ The URL\n$url = 'http:\/\/enterprise.softaculous.com:2006\/index.php?'.\n\t\t\t'api_key=TESTAPIKEYAPIAPI'.\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 \n\/\/ Get response from the server\n$resp = curl_exec($ch);<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Add a 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>Use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_API#Authenticating\">Admin Authentication<\/a>&nbsp;method.<\/td><\/tr><tr><td>act<\/td><td>adduser<\/td><td>The value should be &#8220;adddomain&#8221; only to list the domains.<\/td><\/tr><tr><th><strong>POST<\/strong><\/th><\/tr><tr><td>username<\/td><td>username<\/td><td>user name to be added.<\/td><\/tr><tr><td>user_email<\/td><td>user@domain.com<\/td><td>the email of the user.<\/td><\/tr><tr><td>uid<\/td><td>505<\/td><td>UID of the user. It is used to change the owner of the directories extracted by Softaculous.<\/td><\/tr><tr><td>gid<\/td><td>505<\/td><td>GID of the user. If not specified UID is assumed.<\/td><\/tr><tr><td>num_users<\/td><td>0<\/td><td>the number of users reseller can add. It should be more than one. Empty in case of Regular users.<\/td><\/tr><tr><td>saveuser<\/td><td>1<\/td><td>This will trigger the softaculous to add a 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:\/\/enterprise.softaculous.com:2006\/index.php?'.\n\t\t\t'api_key=TESTAPIKEYAPIAPI'.\n\t\t\t'&amp;api_pass=PASSPASSPASSPASSPASSPASSPASSPASS'.\n\t\t\t'&amp;api=serialize'.\n\t\t\t'&amp;act=adduser';\n\n$post = array('username' =&gt; 'username',\n              'user_email' =&gt; 'username@domain.com',\n              'uid' =&gt; '505',\n              'gid' =&gt; '505',\n              'num_users' =&gt; 0,\n              'saveuser' =&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\">Edit 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>Use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_API#Authenticating\">Admin Authentication<\/a>&nbsp;method.<\/td><\/tr><tr><td>act<\/td><td>listuser<\/td><td>The value should be &#8220;listuser&#8221; only to list the domains.<\/td><\/tr><tr><td>modowner<\/td><td>root\/resellername<\/td><td>The owner of the user account.<\/td><\/tr><tr><td>moduser<\/td><td>username<\/td><td>The user name to be added.<\/td><\/tr><tr><td>uid<\/td><td>505<\/td><td>UID of the user. It is used to change the owner of the directories extracted by Softaculous.<\/td><\/tr><tr><td>gid<\/td><td>505<\/td><td>GID of the user. If not specified UID is assumed.<\/td><\/tr><tr><td>nof (Optional)<\/td><td>10<\/td><td>The number of users reseller is to be allowed. It should be more than one. Empty in case of Regular 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\">\/\/ The URL\n$url = 'http:\/\/enterprise.softaculous.com:2006\/index.php?'.\n\t\t\t'api_key=TESTAPIKEYAPIAPI'.\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;modowner=root'.\n\t\t\t'&amp;moduser=username'.\n\t\t\t'&amp;uid=505'.\n\t\t\t'&amp;gid=505';\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\">Delete 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>Use the&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_API#Authenticating\">Admin Authentication<\/a>&nbsp;method.<\/td><\/tr><tr><td>act<\/td><td>listuser<\/td><td>The value should be &#8220;listuser&#8221; only to list the domains.<\/td><\/tr><tr><td>deluser<\/td><td>username<\/td><td>The user name to be added.<\/td><\/tr><tr><td>delowner<\/td><td>root\/resellername<\/td><td>The owner of the user account.<\/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:\/\/enterprise.softaculous.com:2006\/index.php?'.\n\t\t\t'api_key=TESTAPIKEYAPIAPI'.\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=username'.\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 \n\/\/ Get response from the server\n$resp = curl_exec($ch);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Enduser Functions<\/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 Installer or your Host.<\/td><\/tr><tr><td>api_pass<\/td><td>Random String<\/td><td>API Key is 32 Characters random string provided by Installer or your Host.<\/td><\/tr><tr><td>api<\/td><td>serialize, json or xml (Default: serialize)<\/td><td>Softaculous Enterprise will return the output in the format specified.<\/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:\/\/enterprise.softaculous.com\/index.php?'.\n\t\t\t'api_key=TESTAPIKEYAPIAPI'.\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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_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><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\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=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\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\techo 'Cloned successfully. URL to Installation cloned installation : '.$res['__settings']['softurl'];\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\">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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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 <a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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><\/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\/blog\/docs\/api\/enterprise-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);\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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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 <a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/blog\/docs\/api\/enterprise-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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_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\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_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\">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\/enterprise-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\/enterprise-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\/enterprise-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\/enterprise-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 href=\"https:\/\/www.softaculous.com\/docs\/api\/enterprise-api\/#list-wordpress-installations\" target=\"_blank\" rel=\"noreferrer noopener\">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 href=\"https:\/\/www.softaculous.com\/docs\/api\/enterprise-api\/#list-wordpress-installations\" target=\"_blank\" rel=\"noreferrer noopener\">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 href=\"https:\/\/www.softaculous.com\/docs\/api\/enterprise-api\/#list-wordpress-installations\" target=\"_blank\" rel=\"noreferrer noopener\">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\/enterprise-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\/enterprise-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><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',\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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\">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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_API#Authenticating_2\">Enduser Authenticating<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Enterprise_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\/Enterprise_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","protected":false},"featured_media":0,"parent":1683,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","docs_category":[],"class_list":["post-2241","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/2241","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=2241"}],"version-history":[{"count":21,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/2241\/revisions"}],"predecessor-version":[{"id":4731,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/2241\/revisions\/4731"}],"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=2241"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs_category?post=2241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}