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

# Delete submission

> Soft-deletes a submission by its ID — the record is retained with `isDeleted: true` and excluded from all list queries.



## OpenAPI

````yaml /api-reference/ai-cms/openapi.json delete /forms/submission/delete/{id}
openapi: 3.1.0
info:
  title: Blog API
  version: 1.0.0
servers:
  - url: https://api.octaviatech.app/cms
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Tags
    description: Tag management endpoints
paths:
  /forms/submission/delete/{id}:
    delete:
      tags:
        - Form Submissions
      summary: Delete submission
      description: >-
        Soft-deletes a submission by its ID — the record is retained with
        `isDeleted: true` and excluded from all list queries.
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
            pattern: ^[a-fA-F0-9]{24}$
            example: '{{objectId}}'
          description: 24-char hex identifier of the submission.
      responses:
        '200':
          description: Deleted
        '404':
          description: Not found
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````