API Request members of a host group

Hi,
is it possible to list all host group members via API request?
I tried this endpoint, but this does not show the group members:
/objects/host_group_config/{name}

regards
Christian

Hi.
You will not be abble to get this informations from RestAPI. You will be able to run a call to the WebGUI to get the result from a view to a host group. Example:
http://myhost/mysite/check_mk/view.py?opthost_group=mygroup&view_name=hostgroup&_username=automation&_secret=xxxxxxxxx&_login=1&output_format=csv
I hope it helps.

Best, Christian

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.