Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Add MX and CNAME records via XML/JSON API - Permissions?

Discussion in 'General Discussion' started by Jason B, Feb 29, 2012.

  1. Jason B

    Jason B Member

    Joined:
    Feb 15, 2012
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    DataCenter Provider
    Hi,

    We're trying to add MX and CNAME records using the 'addzonerecord' API function. Do we need root permission at the server to do this? If so, calling that family of API functions as 'root' should be as simple as specifying 'root' as the username, following the authentication procedures at:

    ApiAuthentication < SoftwareDevelopmentKit < TWiki

    And providing the hash we get from logging onto WHM and generating it. Right? Anything else we need to do to have access to these functions?

    Thanks,
    Jason
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,153
    Likes Received:
    1,932
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice