REST API how to add/delete hosts to/from a host group

You can just go to “Help” in the lower-left corner and go to REST API documentation. There you can find anything including “Rules” under “SETUP”.

FYI I’m running 2.1.0p4 (if the documentation differs from yours)