---
title: "Delete every submission for a site, or every one of a single form."
method: DELETE
path: "/api/v1/sites/{id}/submissions"
tags: ["submissions"]
---

# Delete every submission for a site, or every one of a single form.

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

## Request

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

## Path parameters

- `id` string, required

## Query parameters

- `form` string

## Response `200`

Delete every submission for a site, or every one of a single form.

- DeletedResult
  - `ok` true, required
  - `removed` integer, 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)
