---
title: "DeleteVirtualHost"
method: DELETE
path: "/v1/vhosts/{hostname}/"
tags: ["vhosts"]
---

# DeleteVirtualHost

`DELETE /v1/vhosts/{hostname}/`

Delete a vhost.

## Path parameters

- `hostname` string, required

## Response `200`

VirtualHostDeleted

- object

## Changes

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

[Change history](https://skmtc.dev/goinfinite/apis/osapi/changes/v1/vhosts/:hostname/delete.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/63abd2c4e52d/schema)
