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

# Delete a Generated Report

> Permanently deletes a previously generated report and its associated PDF and JSON data from storage.



## OpenAPI

````yaml /api/en/reports.yaml delete /reports/sla/reports/{reportId}
openapi: 3.0.3
info:
  title: Altostrat Reports API
  version: 1.0.0
  description: >-
    The Altostrat Reports API is the microservice responsible for scheduling,
    generating, and storing comprehensive Service Level Agreement (SLA) and
    network performance reports.


    It provides historical insights and accountability for network uptime by
    consuming fault data from across the Altostrat SDX platform and transforming
    it into scheduled, human-readable PDF reports.


    This API allows you to programmatically manage:

    - **SLA Report Schedules:** The core configuration object defining what data
    to collect, for which sites, and on what schedule (daily, weekly, monthly).

    - **Generated Reports:** The immutable, historical artifacts produced by a
    schedule run, including a detailed breakdown of site uptime and a
    downloadable PDF.


    Developers use this API to automate the creation of SLA report
    configurations and retrieve the resulting performance data for integration
    into dashboards or third-party systems.
servers:
  - url: https://v1.api.altostrat.io
    description: Altostrat Production API
security: []
tags:
  - name: SLA Report Schedules
    description: Manage the configuration of automated SLA reports.
  - name: Generated Reports
    description: Access and manage historically generated report results.
paths:
  /reports/sla/reports/{reportId}:
    delete:
      tags:
        - Generated Reports
      summary: Delete a Generated Report
      description: >-
        Permanently deletes a previously generated report and its associated PDF
        and JSON data from storage.
      operationId: deleteGeneratedReport
      parameters:
        - name: reportId
          in: path
          required: true
          description: >-
            The unique, human-friendly identifier of the generated report to
            delete.
          schema:
            type: string
            example: BCDF-GHJK
      responses:
        '204':
          description: The report was deleted successfully.
        '404':
          description: Not Found - The requested report does not exist.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        type:
          type: string
          description: A broad category for the error (e.g., 'invalid_request_error').
          example: invalid_request_error
        code:
          type: string
          description: A short, unique string identifying the specific error.
          example: parameter_missing
        message:
          type: string
          description: A human-readable description of what went wrong.
          example: The 'name' parameter is required for this request.
        doc_url:
          type: string
          description: >-
            A direct link to the documentation page for this specific error
            code.
          example: https://docs.altostrat.io/errors/parameter_missing
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Enter your authentication token.

````