Results 1 to 2 of 2

Thread: change domain ip via api

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2017
    Posts
    5

    change domain ip via api

    hi

    how assign ip to domain via api? in web i do it on http://panel:2222/CMD_DOMAIN but how do it via api?

    i see https://directadmin.com/features.php?id=498 but i not see add/delete ips function.

    please help me find this function becouse i need change domain ip via api.

    also i find:
    /CMD_API_DOMAIN?action=multi_ip&domain='.$_GET['domain'].'&ip='.$_GET['ip'].'&dns='.$_GET['dns']."&add=

    but i received error:
    error=1&text=Unable to modify that domain&details=It does not belong to you

  2. #2
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    12,482
    Hello,

    Try as user /CMD_API_ADDITIONAL_DOMAINS with GET/POST vars from the form on the page /CMD_ADDITIONAL_DOMAINS

    More info: https://www.directadmin.com/search_v...TIONAL_DOMAINS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •