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

# Delete campaign

> Delete an entire campaign and associated events



## OpenAPI

````yaml /phishmonger-docs/phishmonger-openapi.json delete /delete_campaign
openapi: 3.0.0
info:
  title: Phishmonger API
  version: 2.0.0
  description: >-
    RESTful API for programmatic access to Phishmonger phishing platform
    functionality
servers:
  - url: https://yourdomain.com
    description: Phishmonger server
security:
  - cookieAuth: []
tags:
  - name: Template
    description: Email template management
  - name: Campaign
    description: Phishing campaign operations
  - name: Target
    description: Target recipient management
  - name: Event
    description: Event tracking and analytics
paths:
  /delete_campaign:
    delete:
      tags:
        - Campaign
      summary: Delete campaign
      description: Delete an entire campaign and associated events
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                campaign:
                  type: string
                  description: Campaign name to delete
      responses:
        '200':
          description: Campaign deleted successfully
          content:
            text/plain:
              schema:
                type: string
                example: campaign deleted
        '401':
          description: Not authorized
      security:
        - cookieAuth: []
components:
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: admin_cookie
      description: Admin cookie authentication (configurable in config.json)

````