Use WHM API's from external server?
I have my server "A" running on ruby on rails.
My hosting server "B" has WHM installed on it.
How can I use WHM's APIs to get some data about hosting server.
For example I want to list all the domains and sub domains per user.
Is it possible? if yes then how?
Any suggestion.
-
Hello, Yes, you can setup a custom script on the source server that connects to the cPanel server and utilizes WHM API 1 or UAPI functions. For example, this is a good WHM UAPI function to list domain names and subdomain names associated with an account: Guide to API Authentication - Software Development Kit - cPanel Documentation Thank you. 0
Please sign in to leave a comment.
Comments
1 comment