GET
/
api
/
v1
/
ssh
/
host-groups
/
{sshHostGroupId}
/
hosts
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
}

Path Parameters

sshHostGroupId
string
required

The ID of the SSH host group to get.

Query Parameters

filter
enum<string>

The filter to apply to the SSH hosts in the SSH host group.

Available options:
group-members,
non-group-members

Response

200
application/json
Default Response

The response is of type object.