Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WHM create account #5

Open
boris154 opened this issue Oct 1, 2014 · 1 comment
Open

WHM create account #5

boris154 opened this issue Oct 1, 2014 · 1 comment

Comments

@boris154
Copy link

boris154 commented Oct 1, 2014

Hi,
Is there any way to create a new account with the api?

@martijngastkemper
Copy link

Yes that's possible with this API.

$whm = \Cpanel_PublicAPI::factory(
            'whm', 
            array (
                'host' => 'examle.com',
                'user' => 'root',
                'hash' => 'asdfasdf'
            )
        );

Call createacct with the right parameters

$whm->createacct( arg1, arg2 ); 

@Worldrem Worldrem mentioned this issue Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants