---
title: "ReadVirtualHosts"
method: GET
path: "/v1/vhosts/"
tags: ["vhosts"]
---

# ReadVirtualHosts

`GET /v1/vhosts/`

List virtual hosts.

## Response `200`

OK

- EntityVirtualHost[]
  - `hostname` string
  - `parentHostname` string
  - `rootDirectory` string
  - `type` string

## Changes

- **2024-12-04** `d7ced1b11534` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/goinfinite/apis/osapi/changes/v1/vhosts/get.md)

---

[API](https://skmtc.dev/goinfinite/apis/osapi.md) · [All operations](https://skmtc.dev/goinfinite/apis/osapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goinfinite/osapi/revisions/29ef3eae8d99/schema)
