---
title: "Delete an uploaded file"
method: DELETE
path: "/v1/files/{fid}"
---

# Delete an uploaded file

`DELETE /v1/files/{fid}`

## Request

- Base URL: `https://api.harnessrouter.ai`
- URL: `https://api.harnessrouter.ai/v1/files/{fid}`
- Auth: none declared

## Path parameters

- `fid` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/harnessrouter/apis/harnessrouter-api.md) - [All operations](https://skmtc.dev/harnessrouter/apis/harnessrouter-api/llms.txt) - [OpenAPI document](https://skmtc.dev/harnessrouter/apis/harnessrouter-api/revisions/a02863eb5a8f?raw)
