I am using XML API to call cPanel functions from a remote computer. I am having trouble setting/removing the Addon Domain Redirection. I am trying to call it by using the following url:

Code:
https://xxxx.net:2083/xml-api/cpanel?cpanel_xmlapi_module=SubDomain&cpanel_xmlapi_func=setsuburl&cpanel_xmlapi_apiversion=1&arg-0=test.net,test_xxxx.net&arg-1=http://subdomain.xxxx.net
The returned xml gives the appearance that it has worked properly, but if I log into the control panel, the changes have not been made.

This same code works for subdomain redirection. Anyone have any ideas?

Thanks