WHM API RELATED - Permission Denied by using createacct command
Hello cP,
Actually i'm working on a upcoming open source project written in Php to manned hosting/clients record. All other APIs are working super fine for me. But whenever I'm trying to execute "createacct" command, it show me Result : 0 with Reason : Permission Denied
Here is a sample code that i'm using right now:
[PHP]
[/PHP]
AND
Here is the output that i got:
Can anyone point out the reason of that issue ??? Note: All other API commands are already tested and working fine.... Thanks
Array ( [metadata] => Array ( [result] => 0 [reason] => Permission denied. [version] => 1 [command] => createacct ) )
Can anyone point out the reason of that issue ??? Note: All other API commands are already tested and working fine.... Thanks
-
Hello :) Do you experience any error messages when testing this API command via "WHM Home " Development " API Shell"? Do you notice any error messages in /usr/local/cpanel/logs/error_log (or login_log) when authentication fails? Thank you. 0
Please sign in to leave a comment.
Comments
1 comment