http://localhost:9091/AppManager/xml/group/move?apikey=3feef451ed7d7e30c08b2908aed0de40&haid=10000278&tohaid=0
The above URL will move monitor group 10000278 outside its parent group when specifying 0 in the tohaid. It will be listed as main group in monitor group view.