Is it possible to add redirect to domain with cPanel API?
-
Hello, The following UAPI function is available for this purpose: UAPI Functions - Mime::add_redirect - Software Development Kit - cPanel Documentation Thank you. 0 -
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. 0 -
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 0 -
How to call that API from client code at another server.
Hello, You may also find these documents helpful: Guide to API Authentication - Secure Remote Logins - Software Development Kit - cPanel Documentation Guide to API Authentication - Software Development Kit - cPanel Documentation Thank you.0
Please sign in to leave a comment.
Comments
4 comments