---
title: "Delete a site, its files and its form submissions."
method: DELETE
path: "/api/v1/sites/{id}"
tags: ["sites"]
---

# Delete a site, its files and its form submissions.

`DELETE /api/v1/sites/{id}`

## Request

- Base URL: `https://harvis.dev`
- URL: `https://harvis.dev/api/v1/sites/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `better-auth.session_token`

The address is released and the site stops resolving. This cannot be undone.

## Path parameters

- `id` string, required

## Response `200`

Delete a site, its files and its form submissions.

- OkResult
  - `ok` true, required

## Other responses

- `401`: `unauthorized`
- `403`: `suspended`
- `404`: `siteNotFound`

---

[API](https://skmtc.dev/harvis/apis/harvis-dev-api.md) · [All operations](https://skmtc.dev/harvis/apis/harvis-dev-api/llms.txt) · [OpenAPI document](https://skmtc.dev/harvis/apis/harvis-dev-api/revisions/b06f9e2deebb?raw)
