CMD_API_IP_CONFIG

Version 1.313

Feature
Finished

CMD_API_IP_CONFIG ... the API for CMD_IP_CONFIG If nothing is passed, you get a url encoded string for all the IPs and their values, as owned by the Reseller who calls it. Note that the IP value when decoded may be in the form: 1_2_3_4 instead of 1.2.3.4, fyi. I've added ip=1.2.3.4 to the list of parameters for that IP anyway (which is redundant) so you can use the 2nd value instead of the index name if you dont want to swap out the _ characters. Other parameters: gateway= (will be blank) ip=1.2.3.4 netmask=255.255.255.0 ns=ns1.asdf.com (or blank) reseller=bob status=owned|shared|free value=#|user ========================= If you POST to this command: action=select select0=1.2.3.4 (select1=4.5.6.7) To delete: delete=anything Set to shared: share=anything Set to free: free=anything

Interested to try DirectAdmin? Get a 30-day Free Trial!