Hi all,
I have a WHM account/server that I've full access.
I need to create e-mail accounts using an API or something like that. I've read some documentation and activated the "cPanel & WHM API shell (for developers)" in WHM, but I've not been able to figure out how to setup cPanel so API calls are possible.
I've attached one image in the cPanel "Manage API Tokens" showing the disabled button that allow to create the token.
The objective is to use one of this libraries:
- vexxhost/python-cpanelapi
- oznu/pycpanel
My question is, what steps I'm not doing to generate a valid API Token?
I appreciate some kind of help.
Best Regards,
I have a WHM account/server that I've full access.
I need to create e-mail accounts using an API or something like that. I've read some documentation and activated the "cPanel & WHM API shell (for developers)" in WHM, but I've not been able to figure out how to setup cPanel so API calls are possible.
I've attached one image in the cPanel "Manage API Tokens" showing the disabled button that allow to create the token.
The objective is to use one of this libraries:
- vexxhost/python-cpanelapi
- oznu/pycpanel
My question is, what steps I'm not doing to generate a valid API Token?
I appreciate some kind of help.
Best Regards,
