cURL
curl --request GET \ --url https://us.infisical.com/api/v1/ssh/host-groups/{sshHostGroupId}/hosts
{ "hosts": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "hostname": "<string>", "alias": "<string>", "isPartOfGroup": true, "joinedGroupAt": "2023-11-07T05:31:56Z" } ], "totalCount": 123 }
Get SSH Hosts in a Host Group
The ID of the SSH host group to get.
The filter to apply to the SSH hosts in the SSH host group.
group-members
non-group-members
Default Response
The response is of type object.
object
Was this page helpful?