agenciadix

Registered
Jan 20, 2011
3
0
51
The same error here !

I´m use a long time to integrate my platform with servers and now "cpanel.xmlapi" doesnt work.
I can log with ROOT but cant with Cpanel USER.

{"cpanelresult":{"apiversion":"2","error":"Access denied","data":{"reason":"Access denied","result":"0"},"type":"text"}}

Anybody can help me ?

Tkz
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello @agenciadix,

Support for the XML-like output of our API was removed from the product in cPanel & WHM version 74:

Removed XML output in API functions
In cPanel & WHM version 74, we removed the Extensible Markup Language (XML) output format from all of our API functions. We previously deprecated XML output in cPanel & WHM version 66.

Important:

You must use the JSON return format when you call API functions.
You must update your scripts to use the JSON output format to call WHM API and cPanel API functions.
Can you provide some more information about the specific API function or script you are using? Is it a third-party application, or something you developed on your own?

Thank you.