---
title: "Replace an existing file"
method: PUT
path: "/api/v1/collections/{collection}/files/{filename}"
---

# Replace an existing file

`PUT /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 replaced

- object
  - `status` string

---

[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)
