Skip to content

Beautiful Open-Source Form Builder

858 B
Raw Blame
---
openapi: delete /open/forms/{id}/submissions/{submission_id}
---

# Delete Submission

Remove a single submission from a form.

## Authentication & Scope

Requires the `forms-write` ability.

## Request

```http
DELETE /open/forms/{id}/submissions/{submission_id} HTTP/1.1
Host: api.opnform.com
Authorization: Bearer <token>
```

### Path Parameters

| Parameter     | Type   | Description                                  |
|---------------|--------|----------------------------------------------|
| id            | number | Numeric ID of the parent form.               |
| submission_id | number | Numeric ID of the submission to permanently delete. |

## Response

`200 OK` – Returns a confirmation message.

```json
{
  "message": "Record successfully removed."
}
```

`403 Forbidden` – The token lacks `forms-write` or you don't have permission.