Hi,
Recently I came across a strange behavior when calling cPanel APIs. Here is what I did:
I have been using the xml-api calls without any issues. At one point, I suspended an account. Then called the following XML-API using root access:
https://<mycpanelserver>:2087/xml-api/listaccts
Now it returned the following XML which I did not really expect.
------------------------------------8<-----------------------------------
<cpanelresult> <data> <result>0</result> <reason>Access denied</reason> </data> </cpanelresult>
------------------------------------>8-----------------------------------
I don't understand why suspending an account causes this error. Could you please help me get rid of this issue?
Thanks,
Nesan Joseph R.
Recently I came across a strange behavior when calling cPanel APIs. Here is what I did:
I have been using the xml-api calls without any issues. At one point, I suspended an account. Then called the following XML-API using root access:
https://<mycpanelserver>:2087/xml-api/listaccts
Now it returned the following XML which I did not really expect.
------------------------------------8<-----------------------------------
<cpanelresult> <data> <result>0</result> <reason>Access denied</reason> </data> </cpanelresult>
------------------------------------>8-----------------------------------
I don't understand why suspending an account causes this error. Could you please help me get rid of this issue?
Thanks,
Nesan Joseph R.