T
thomasgm
Guest
Hi guys, what's wrong with this update XML request? If i remove the <limits> node it works fine, how do i update a domain limit?
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.0.1">
<domain>
<set>
<filter>
<domain-name>subroot1.com</domain-name>
</filter>
<values>
<gen_setup>
<owner-id>1270</owner-id>
<ip_address>159.255.56.99</ip_address>
</gen_setup>
<hosting>
<vrt_hst>
<property>
<name>ftp_password</name>
<value>A9bc1234563</value>
</property>
<property>
<name>php_handler_type</name>
<value>module</value>
</property>
<property>
<name>php_safe_mode</name>
<value>false</value>
</property>
<property>
<name>asp</name>
<value>false</value>
</property>
<property>
<name>ssi</name>
<value>true</value>
</property>
<property>
<name>php</name>
<value>true</value>
</property>
<property>
<name>cgi</name>
<value>true</value>
</property>
<property>
<name>perl</name>
<value>true</value>
</property>
<property>
<name>webstat</name>
<value>awstats</value>
</property>
<property>
<name>webstat_protected</name>
<value>true</value>
</property>
<property>
<name>errdocs</name>
<value></value>
</property>
<ip_address>159.255.56.99</ip_address>
</vrt_hst>
</hosting>
<user>
<enabled>true</enabled>
<password>A9bc1234563</password>
<cname>subroot 1 oxê</cname>
<pname>Sub root 1</pname>
<phone>432424242</phone>
<fax>432424242</fax>
<email>[email protected]</email>
<address></address>
<city>Diadema</city>
<state>São Paulo</state>
<pcode>23923939</pcode>
<country>BS</country>
<multiply_login>false</multiply_login>
<perms>
<permission>
<name>manage_ftp_password</name>
<value>false</value>
</permission>
<permission>
<name>create_domains</name>
<value>false</value>
</permission>
<permission>
<name>manage_phosting</name>
<value>false</value>
</permission>
<permission>
<name>manage_quota</name>
<value>false</value>
</permission>
<permission>
<name>manage_subdomains</name>
<value>false</value>
</permission>
<permission>
<name>manage_domain_aliases</name>
<value>false</value>
</permission>
<permission>
<name>manage_log</name>
<value>false</value>
</permission>
<permission>
<name>manage_anonftp</name>
<value>false</value>
</permission>
<permission>
<name>manage_crontab</name>
<value>false</value>
</permission>
<permission>
<name>manage_dns</name>
<value>false</value>
</permission>
<permission>
<name>change_limits</name>
<value>false</value>
</permission>
<permission>
<name>manage_webapps</name>
<value>false</value>
</permission>
<permission>
<name>manage_webstat</name>
<value>false</value>
</permission>
<permission>
<name>manage_maillists</name>
<value>false</value>
</permission>
<permission>
<name>manage_spamfilter</name>
<value>false</value>
</permission>
<permission>
<name>manage_virusfilter</name>
<value>false</value>
</permission>
<permission>
<name>allow_local_backups</name>
<value>false</value>
</permission>
<permission>
<name>allow_ftp_backups</name>
<value>false</value>
</permission>
<permission>
<name>site_builder</name>
<value>false</value>
</permission>
<permission>
<name>manage_dashboard</name>
<value>false</value>
</permission>
<permission>
<name>manage_sh_access</name>
<value>false</value>
</permission>
<permission>
<name>make_dumps</name>
<value>false</value>
</permission>
<permission>
<name>remote_access_interface</name>
<value>false</value>
</permission>
<permission>
<name>cp_access</name>
<value>false</value>
</permission>
</perms>
</user>
<limits>
<limit>
<name>max_subdom</name>
<value>-1</value>
</limit>
</limits>
</values>
</set>
</domain>
</packet>
Kindest regards,
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.0.1">
<domain>
<set>
<filter>
<domain-name>subroot1.com</domain-name>
</filter>
<values>
<gen_setup>
<owner-id>1270</owner-id>
<ip_address>159.255.56.99</ip_address>
</gen_setup>
<hosting>
<vrt_hst>
<property>
<name>ftp_password</name>
<value>A9bc1234563</value>
</property>
<property>
<name>php_handler_type</name>
<value>module</value>
</property>
<property>
<name>php_safe_mode</name>
<value>false</value>
</property>
<property>
<name>asp</name>
<value>false</value>
</property>
<property>
<name>ssi</name>
<value>true</value>
</property>
<property>
<name>php</name>
<value>true</value>
</property>
<property>
<name>cgi</name>
<value>true</value>
</property>
<property>
<name>perl</name>
<value>true</value>
</property>
<property>
<name>webstat</name>
<value>awstats</value>
</property>
<property>
<name>webstat_protected</name>
<value>true</value>
</property>
<property>
<name>errdocs</name>
<value></value>
</property>
<ip_address>159.255.56.99</ip_address>
</vrt_hst>
</hosting>
<user>
<enabled>true</enabled>
<password>A9bc1234563</password>
<cname>subroot 1 oxê</cname>
<pname>Sub root 1</pname>
<phone>432424242</phone>
<fax>432424242</fax>
<email>[email protected]</email>
<address></address>
<city>Diadema</city>
<state>São Paulo</state>
<pcode>23923939</pcode>
<country>BS</country>
<multiply_login>false</multiply_login>
<perms>
<permission>
<name>manage_ftp_password</name>
<value>false</value>
</permission>
<permission>
<name>create_domains</name>
<value>false</value>
</permission>
<permission>
<name>manage_phosting</name>
<value>false</value>
</permission>
<permission>
<name>manage_quota</name>
<value>false</value>
</permission>
<permission>
<name>manage_subdomains</name>
<value>false</value>
</permission>
<permission>
<name>manage_domain_aliases</name>
<value>false</value>
</permission>
<permission>
<name>manage_log</name>
<value>false</value>
</permission>
<permission>
<name>manage_anonftp</name>
<value>false</value>
</permission>
<permission>
<name>manage_crontab</name>
<value>false</value>
</permission>
<permission>
<name>manage_dns</name>
<value>false</value>
</permission>
<permission>
<name>change_limits</name>
<value>false</value>
</permission>
<permission>
<name>manage_webapps</name>
<value>false</value>
</permission>
<permission>
<name>manage_webstat</name>
<value>false</value>
</permission>
<permission>
<name>manage_maillists</name>
<value>false</value>
</permission>
<permission>
<name>manage_spamfilter</name>
<value>false</value>
</permission>
<permission>
<name>manage_virusfilter</name>
<value>false</value>
</permission>
<permission>
<name>allow_local_backups</name>
<value>false</value>
</permission>
<permission>
<name>allow_ftp_backups</name>
<value>false</value>
</permission>
<permission>
<name>site_builder</name>
<value>false</value>
</permission>
<permission>
<name>manage_dashboard</name>
<value>false</value>
</permission>
<permission>
<name>manage_sh_access</name>
<value>false</value>
</permission>
<permission>
<name>make_dumps</name>
<value>false</value>
</permission>
<permission>
<name>remote_access_interface</name>
<value>false</value>
</permission>
<permission>
<name>cp_access</name>
<value>false</value>
</permission>
</perms>
</user>
<limits>
<limit>
<name>max_subdom</name>
<value>-1</value>
</limit>
</limits>
</values>
</set>
</domain>
</packet>
Kindest regards,