Is it possible to add redirect to domain with cPanel API?

haulpd

Active Member
May 20, 2011
31
1
58
Hi cPanelMichael
How to call that API from client code at another server. I have search for authen to call UAPI but can not implement with Python.
I want call Mine:add_redirect and tried authen via API Token, User-Password, but just on WHM, can not authen via port 2083 to call api from applist.
Can you give me any advise or reference.

Thank You.
 

haulpd

Active Member
May 20, 2011
31
1
58
It solved, I create_user_session with fake account, and it false
"You cannot create a session for the user “fake account” because they do not exist."
Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,229
463