---
title: "Delete store file"
method: DELETE
path: "/v1/stores/{store_identifier}/files/{file_identifier}"
tags: ["stores"]
---

# Delete store file

`DELETE /v1/stores/{store_identifier}/files/{file_identifier}`

Delete a file from a store.

Args:
    store_identifier: The ID or name of the store.
    file_id: The ID or name of the file to delete.

Returns:
    VectorStoreFileDeleted: The deleted file details.

## Path parameters

- `store_identifier` union, required — The ID or name of the store
  - string
  - string, uuid
- `file_identifier` union, required — The ID or name of the file to delete
  - string
  - string, uuid

## Response `200`

The deleted store file details

- StoreFileDeleted — Response model for file deletion.
  - `id` string, required — ID of the deleted file
  - `deleted` boolean — Whether the deletion was successful
  - `object` 'store.file' — Type of the deleted object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mixedbread/apis/mxbai-omni.md) · [All operations](https://skmtc.net/mixedbread/apis/mxbai-omni/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mixedbread/mxbai-omni/revisions/2eece97b5ae5/schema)
