> ## Documentation Index
> Fetch the complete documentation index at: https://docs.opnform.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Submission

> Requires `forms-write`.

# Delete Submission

Remove a single submission from a form.

## Authentication & Scope

Requires the `forms-write` ability.

## Request

```http theme={null}
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 theme={null}
{
  "message": "Record successfully removed."
}
```

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


## OpenAPI

````yaml delete /open/forms/{id}/submissions/{submission_id}
openapi: 3.0.1
info:
  title: OpnForm API
  description: API for interacting with OpnForm, primarily used for Zapier integration
  version: 1.0.0
servers:
  - url: https://api.opnform.com
security:
  - bearerAuth: []
tags:
  - name: Workspaces
    description: Create and manage workspaces.
  - name: Workspace Users
    description: Manage users within a workspace.
  - name: Forms
    description: Manage and retrieve forms.
  - name: Submissions
    description: Access and manage form submissions.
  - name: Integrations
    description: Manage form integrations (webhooks) via API.
  - name: Zapier
    description: Legacy endpoints for the Zapier integration.
paths:
  /open/forms/{id}/submissions/{submission_id}:
    delete:
      tags:
        - Submissions
      summary: Delete Submission
      description: Requires `forms-write`.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: number
            description: The ID of the form.
        - name: submission_id
          in: path
          required: true
          schema:
            type: number
            description: The ID of the submission to delete.
      responses:
        '200':
          description: Successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Record successfully removed.
        '403':
          description: Forbidden – token lacks forms-write ability
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Personal Access Token
      x-bearer-scopemap:
        workspaces-read: Read access to workspaces
        workspaces-write: Write access to workspaces
        workspace-users-read: Read access to workspace users
        workspace-users-write: Write access to workspace users
        forms-read: Read access to forms
        forms-write: Write access to forms
        manage-integrations: Manage form integrations (webhooks)

````