While I was able to add vhostAliasDomain using API. Now when I am trying to delete the same, I am getting the result as 0 I have tried multiple options like: Code: $affected_rows = $this->restCall('sites_web_vhost_aliasdomain_delete',array('session_id' => $this->session_id,'domain_id'=> 30)); Code: $affected_rows = $this->restCall('sites_web_vhost_aliasdomain_delete',array('session_id' => $this->session_id,'alias_domain_id'=> 30)); and other combinations, but none worked. also as I could see, it is difficult to get the id of vhost-aliasdomain. so at the same time will it be possible to use 'vhostAlias' domain name for delete or query the ispconfig for getting the ID by name first?