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

# Delete Bug Report

> Delete a bug report by its ID. Requires superuser privileges.

Args:
    bug_report_id (int): The ID of the bug report to delete.
    _admin_user (User): The current superuser.

Returns:
    dict: Confirmation message.

Raises:
    HTTPException: 404 if the bug report is not found.



## OpenAPI

````yaml https://dev-api.cattix.com/openapi.json delete /api/v1/bug-reports/{bug_report_id}
openapi: 3.1.0
info:
  title: CATTIX API
  description: CATTIX Backend API
  version: 0.107.0
servers:
  - url: http://localhost:8000
    description: Local
  - url: https://dev-api.cattix.com
    description: Development
  - url: https://staging-api.cattix.com
    description: Staging
  - url: https://api.cattix.com
    description: Production
security: []
paths:
  /api/v1/bug-reports/{bug_report_id}:
    delete:
      tags:
        - Bug Reports
      summary: Delete Bug Report
      description: |-
        Delete a bug report by its ID. Requires superuser privileges.

        Args:
            bug_report_id (int): The ID of the bug report to delete.
            _admin_user (User): The current superuser.

        Returns:
            dict: Confirmation message.

        Raises:
            HTTPException: 404 if the bug report is not found.
      operationId: delete_bug_report_api_v1_bug_reports__bug_report_id__delete
      parameters:
        - name: bug_report_id
          in: path
          required: true
          schema:
            type: integer
            title: Bug Report Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: >-
                  Response Delete Bug Report Api V1 Bug Reports  Bug Report Id 
                  Delete
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: api/v1/users/authorization/token

````