Skip to main content

Add subdomain API

Comments

3 comments

  • cPanelKenneth
    Hi, The addsubdomain API call is what you want (cPanel API 2 Functions - SubDomain::addsubdomain - Software Development Kit - cPanel Documentation). Since you are crafting the utility in Bash I recommend using our command line API tool in your script (assuming your bash script runs on the same system as cPanel & WHM).
    0
  • Havri
    Hello, Yes, I saw this API function, but it says "We strongly recommend that you use
    0
  • cPanelMichael
    Is there a risk in using this API call or will it be removed in a future release? Will you make an equivalent UAPI call?

    Hello, There are no immediate plans to remove cPanel API 2 from the product. In the event we do remove it in the future, we would publish information about it's impending removal in advance so that you have time to prepare. Thank you.
    0

Please sign in to leave a comment.