Skip to main content
cPanel Technical Support has been heavily impacted by hurricane Beryl and our ability to respond to tickets has been hindered as a result. We appreciate your understanding and patience as we address these delays.

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.