Skip to main content

Error removing subdomain with cpapi2

Comments

1 comment

  • cPRex Jurassic Moderator

    Hey there!  Running the following command worked well for me:

    # cpapi2 --user=username AddonDomain deladdondomain domain=addonapitest.com subdomain=addonapi.domain.com
    --- 
    cpanelresult: 
      apiversion: 2
      data: 
        - 
        reason: The subdomain “addonapi.domain.com” has been removed.
          result: 1
      event: 
        result: 1
      func: deladdondomain
      module: AddonDomain
      postevent: 
        result: 1
      preevent: 
        result: 1

     

    0

Please sign in to leave a comment.