> ## 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.

# Mark Flash as Unavailable

> Marks multiple flash listings as unavailable. Only artists can mark their own flash listings.



## OpenAPI

````yaml PUT /flash/mark-as-unavailable
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/mark-as-unavailable:
    put:
      summary: Mark Flash as Unavailable
      description: >-
        Marks multiple flash listings as unavailable. Only artists can mark
        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 mark as unavailable
      responses:
        '200':
          description: Flash listings marked as unavailable successfully
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                  - updatedCount
                properties:
                  success:
                    type: boolean
                    description: Whether the operation was successful
                  updatedCount:
                    type: number
                    description: Number of flash listings updated
        '400':
          description: Bad request - invalid or empty flash IDs array
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      required:
        - message
      properties:
        message:
          type: string

````