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

# Delete Multiple Flash Listings

> Deletes multiple flash listings. Only artists can delete their own flash listings.



## OpenAPI

````yaml DELETE /flash/delete-batch
openapi: 3.1.0
info:
  title: Tatu API
  description: API documentation for Tatu's booking and artist management system
  version: 1.0.0
servers:
  - url: http://localhost:3000/api
    description: Development server
security: []
paths:
  /flash/delete-batch:
    delete:
      summary: Delete Multiple Flash Listings
      description: >-
        Deletes multiple flash listings. Only artists can delete their own flash
        listings.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - flashIds
              properties:
                flashIds:
                  type: array
                  items:
                    type: string
                  description: Array of flash listing IDs to delete
      responses:
        '200':
          description: Flash listings deleted successfully
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                  - deletedCount
                properties:
                  success:
                    type: boolean
                    description: Whether the operation was successful
                  deletedCount:
                    type: number
                    description: Number of flash listings deleted
        '400':
          description: Bad request - invalid or empty flash IDs array
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden - user does not own one or more flash listings
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      required:
        - message
      properties:
        message:
          type: string

````