cPanel XML API

Here you can find tutorials and notes for server-side maintenance/configuration

cPanel XML API

Postby lik » Sun May 17, 2009 10:21 am

lik
Founder
Founder
 
Posts: 497
Joined: Wed Dec 15, 2010 3:21 am

Re: cPanel XML API

Postby lik » Sun Aug 02, 2009 3:59 am

Code: Select all
for i in `cat ./bad_accounts`;do lynx -dump -auth=$i:*root_password* "http://exampleserver.com:2082/xml-api/cpanel?cpanel_xmlapi_user=$i&xmlin=<cpanelaction><module>Park</module><func>unpark</func><apiversion>1</apiversion><args>bad-domain.com</args></cpanelaction>";done
lik
Founder
Founder
 
Posts: 497
Joined: Wed Dec 15, 2010 3:21 am


Return to Server Side Actions

 


  • Related topics
    Replies
    Views
    Last post
cron