> ## 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 Unavailable Event

> Deletes an unavailable event. Only the artist who created the event can delete it.



## OpenAPI

````yaml DELETE /unavailable-events/delete-unavailable-event
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:
  /unavailable-events/delete-unavailable-event:
    delete:
      summary: Delete Unavailable Event
      description: >-
        Deletes an unavailable event. Only the artist who created the event can
        delete it.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteUnavailableEventRequest'
      responses:
        '200':
          description: Unavailable event deleted successfully
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                  - message
                properties:
                  success:
                    type: boolean
                    description: Whether the operation was successful
                  message:
                    type: string
                    description: Success message
        '400':
          description: Bad request - Invalid request data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden - Not allowed to delete this event
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Event not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '405':
          description: Method not allowed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    DeleteUnavailableEventRequest:
      type: object
      required:
        - id
      properties:
        id:
          type: string
          description: ID of the unavailable event to delete
    Error:
      type: object
      required:
        - message
      properties:
        message:
          type: string

````