You can do following things with Hubs APIs:
- query a list of hubs, for example, with home name or serial number.
- get and update hub detail
- find a list of devices attached to a hub
- reset the master code if it is exposed. Only user have role “Hub Installer” can access this API.