---
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}`

## Request

- Base URL: `https://api.mixedbread.com`
- URL: `https://api.mixedbread.com/v1/stores/{store_identifier}/files/{file_identifier}`
- Auth: HTTP bearer

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.dev/mixedbread/apis/mxbai-omni.md) - [All operations](https://skmtc.dev/mixedbread/apis/mxbai-omni/llms.txt) - [OpenAPI document](https://skmtc.dev/mixedbread/apis/mxbai-omni/revisions/da24b4f7e983?raw)
