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

# Delete Log

> Delete all logs and chunks for a specific job ID



## OpenAPI

````yaml DELETE /delete
openapi: 3.0.3
info:
  title: Logging API
  description: >-
    API for uploading, retrieving, and managing log chunks in a distributed
    logging system
  version: 1.0.0
  contact:
    name: API Support
servers:
  - url: https://logging.monolisk.co
    description: Production server
  - url: http://localhost:8787
    description: Development server
security:
  - bearerAuth: []
tags:
  - name: logs
    description: Log management operations
  - name: chunks
    description: Chunk-specific operations
paths:
  /delete:
    delete:
      summary: Delete logs
      description: Delete all logs and chunks for a specific job ID
      operationId: deleteLogs
      parameters:
        - name: jobId
          in: query
          required: true
          description: The job ID to delete logs for
          schema:
            type: string
            example: job-123
      responses:
        '204':
          description: Logs deleted successfully
        '400':
          description: Missing jobId parameter
          content:
            text/plain:
              schema:
                type: string
                example: Missing jobId
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '405':
          $ref: '#/components/responses/MethodNotAllowed'
        '500':
          description: Error deleting logs
          content:
            text/plain:
              schema:
                type: string
                example: Error deleting logs
      security:
        - bearerAuth: []
components:
  responses:
    Unauthorized:
      description: Authentication required
      content:
        text/plain:
          schema:
            type: string
            example: Unauthorized
    Forbidden:
      description: Insufficient permissions
      content:
        text/plain:
          schema:
            type: string
            example: Forbidden
    MethodNotAllowed:
      description: HTTP method not allowed for this endpoint
      content:
        text/plain:
          schema:
            type: string
            example: Method Not Allowed
      headers:
        Allow:
          description: Allowed HTTP methods
          schema:
            type: string
            example: GET, POST
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Authorization header with Bearer token

````