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

# Delete an expense report export

> Delete the export file for the given organization.



## OpenAPI

````yaml /openapi/findity-admin-api.json delete /organizations/{id}/expensereportsexports/{expenseReportExportId}
openapi: 3.1.0
info:
  title: Findity Admin API
  description: Findity Admin API
  version: 1.0.0
servers:
  - url: https://stage-api.findity.com/api/v1/admin
  - url: https://api.findity.com/api/v1/admin
security:
  - bearerAuth: []
paths:
  /organizations/{id}/expensereportsexports/{expenseReportExportId}:
    delete:
      tags:
        - Expense Reports
      summary: Delete an expense report export
      description: Delete the export file for the given organization.
      operationId: deleteExpenseReportsExport
      parameters:
        - $ref: '#/components/parameters/organizationIdPath'
        - name: expenseReportExportId
          in: path
          required: true
          description: >
            External identifier of the export file, as returned in the `id`
            field of the list endpoint response. String, non-empty, with no
            additional format constraints. Required.
          schema:
            type: string
          example: testfile123
      responses:
        '204':
          description: The export was deleted successfully. No response body.
        '400':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400Error'
              examples:
                missingOrganizationId:
                  summary: Missing organizationId
                  value:
                    result: error
                    code: MISSING_PARAMETER
                    description: 'Missing parameter: organizationId'
                missingExportId:
                  summary: Missing expenseReportExportId
                  value:
                    result: error
                    code: MISSING_PARAMETER
                    description: 'Missing parameter: expenseReportExportId'
        '403':
          description: >-
            Forbidden — the caller lacks the deleteExpenseReportsExport
            permission.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/403Error'
              examples:
                forbidden:
                  summary: Not allowed
                  value:
                    result: error
                    description: Not allowed
        '404':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/404Error'
              examples:
                organizationNotFound:
                  summary: Organization not found
                  value:
                    result: error
                    code: ORGANIZATION_NOT_FOUND
                    description: Organization not found
                exportNotFound:
                  summary: >-
                    Export not found (unknown id, or it belongs to another
                    organization)
                  value:
                    result: error
                    code: EXPORT_NOT_FOUND
                    description: Export not found
components:
  parameters:
    organizationIdPath:
      in: path
      name: id
      required: true
      description: The unique identifier of the organization
      schema:
        $ref: '#/components/schemas/Uuid'
        example: 05b8daba9ba14a49846fe77883248cf0
  schemas:
    400Error:
      type: object
      properties:
        result:
          type: string
        code:
          type: string
        description:
          type: string
    403Error:
      type: object
      properties:
        result:
          type: string
        description:
          type: string
      example:
        result: error
        description: Not allowed
    404Error:
      type: object
      properties:
        result:
          type: string
        code:
          type: string
        description:
          type: string
      example:
        result: error
        code: ORGANIZATION_NOT_FOUND
        description: 'Failed to get organization for id: {orgId}'
    Uuid:
      type: string
      pattern: ^[0-9a-fA-F]{32}$
      description: UUID without dashes (32-character hex string)
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````