Does anybody know why is this ?
Clients are not allowed to delete domains, this makes sense as they would not be able to create it again.
Please try this:
$tmp_groups = $go_api->groups->myGroups();
$sql = "UPDATE isp_nodes SET status = 1 WHERE doc_id = '$doc_id' AND doctype_id = '$doctype_id'";
This should solve the problem as we do not have to query groups when we use the remoting framework and the group code is not loaded at all in this case.