---
title: "Delete an uploaded file"
full: true
_openapi:
  method: DELETE
  toc: []
  structuredData:
    headings: []
    contents:
      - content: "Deletes an uploaded file (soft delete)"
_apiData:
  document: "https://reloop.sh/api/upload/openapi/json"
  operationData: [{"path":"/api/upload/v1/files/{fileId}","method":"delete"}]
  parameterList: [{"name":"fileId","type":"string","required":true,"description":"File ID","location":"path","minLength":1}]
  responseMap: {"200":{"description":"Response for status 200","schema":{"message":"Contact already exists"}},"403":{"description":"Response for status 403","schema":{"message":"Unauthorized access"}},"404":{"description":"Response for status 404","schema":{"message":"File not found"}}}
  codeSamples: []
---
> For the complete documentation index, see [llms-docs.txt](/llms-docs.txt) or the site index [llms.txt](/llms.txt). Full docs corpus: [llms-full-docs.txt](/llms-full-docs.txt). Prefer markdown URLs (append `.md`) for agent consumption. Product skill: [skill.md](/skill.md).


{/* This file was generated by the OpenAPI doc generator. Do not edit this file directly. Run `bun run generate:api-docs` to regenerate. */}

<APIPage />
