# /confirmations/{confirmationId}

Delete a specific confirmation email

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Formstack API v2025.0",
    "version": "0.0.4"
  },
  "servers": [
    {
      "url": "https://www.formstack.com/api/v2025",
      "description": "Production server"
    },
    {
      "url": "https://staging-formstack.com/api/v2025",
      "description": "Staging server"
    },
    {
      "url": "https://dev-formstack.com/api/v2025",
      "description": "Development server"
    }
  ],
  "paths": {
    "/confirmations/{confirmationId}": {
      "delete": {
        "tags": [
          "Confirmation Emails",
          "Classic"
        ],
        "description": "Delete a specific confirmation email",
        "operationId": "deleteConfirmationEmail",
        "parameters": [
          {
            "name": "confirmationId",
            "in": "path",
            "description": "The ID of the confirmation email",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Confirmation email deleted successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfirmationEmailPreviewApiDto"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters"
          },
          "403": {
            "description": "Forbidden by form permissions"
          },
          "404": {
            "description": "Confirmation email not found"
          },
          "500": {
            "description": "Could not delete the confirmation email"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ConfirmationEmailPreviewApiDto": {
        "title": "Confirmation Email Preview",
        "description": "Confirmation Email preview response",
        "properties": {
          "id": {
            "description": "The ID of the confirmation email",
            "type": "integer",
            "nullable": false
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    {
      "name": "Confirmation Emails",
      "description": "Confirmation emails are the messages sent to the person who submits a form. Use these endpoints to list a form's confirmation emails and to create, retrieve, update, and delete them, including subject, sender, content, send delay, and conditional logic."
    },
    {
      "name": "Classic",
      "description": "Classic"
    }
  ]
}
```