Error using UAPI Functions - SubDomain::addsubdomain
Hi,
I am using this API UAPI Functions - SubDomain::addsubdomain
I am getting this error:
[!] Error: 403 returned
-
Hey there! Since you're using the user-level API, you'll want to make sure you're running this from a cPanel session with port 2083 and not a root-user session with port 2087. Can you try adjusting that and see if that takes care of the issue? 0 -
Hi, I am using a root user with port 2087 0 -
I am using this Guide to API Authentication - API Tokens in WHM - Developer Documentation - cPanel Documentation to create the session 0 -
Thanks for the additional details. For that tool you'll need to use port 2083 like in the example on the page in order for that to work properly. Can you try adjusting that to see if that works? 0 -
you need a token ... create a session 0
Please sign in to leave a comment.
Comments
5 comments