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

# Delete file by provider/fileId



## OpenAPI

````yaml /api-reference/openapi.json delete /api/v1/runtime/v1/files/{fileId}
openapi: 3.0.0
info:
  title: Runflow Runtime API
  description: >-
    Programmatic surface for the Runflow platform — used by the SDK, the CLI,
    the execution engine, and any server-to-server caller. Authenticate with an
    `x-api-key` header (or `Authorization: Bearer ...`).
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.runflow.ai
    description: Production
  - url: http://localhost:3000
    description: Local development
security: []
tags: []
paths:
  /api/v1/runtime/v1/files/{fileId}:
    delete:
      tags:
        - Runtime API - Core
      summary: Delete file by provider/fileId
      operationId: RuntimeController_deleteFile
      parameters:
        - name: fileId
          required: true
          in: path
          description: Provider-issued file id.
          schema:
            type: string
        - name: provider
          required: true
          in: query
          description: Provider key (e.g. openai).
          schema:
            type: string
        - name: providerName
          required: false
          in: query
          description: Provider profile name.
          schema:
            type: string
      responses:
        '200':
          description: Delete result from the provider.
        '401':
          description: Missing or invalid API key.
      security:
        - bearer: []
components: {}

````