---
title: "Delete a file"
method: DELETE
path: "/api/v1/collections/{collection}/files/{filename}"
---

# Delete a file

`DELETE /api/v1/collections/{collection}/files/{filename}`

## Request

- Base URL: `https://api.vectorpanda.com`
- URL: `https://api.vectorpanda.com/api/v1/collections/{collection}/files/{filename}`
- Auth: HTTP bearer

## Response `200`

File deleted

- object
  - `status` string

## Other responses

- `404`: File not found

---

[API](https://skmtc.dev/vectorpanda/apis/vector-panda-api.md) · [All operations](https://skmtc.dev/vectorpanda/apis/vector-panda-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vectorpanda/apis/vector-panda-api/revisions/f5fc74e883d4?raw)
