Delete Store File
DELETE/v1/stores/{store_identifier}/files/{file_identifier}
Authorization
Authorizationstringrequired
Bearer token for API authentication. Format: `Bearer YOUR_API_KEY`
Path Parameters
store_identifierstringrequired
The ID or name of the store
file_identifierstringrequired
The ID or external_id of the file to delete. Supports slashes for path-like identifiers.
Response Body
idstringrequired
ID of the deleted file
deletedbooleandefault:
trueWhether the deletion was successful
objectstringdefault:
store.fileType of the deleted object
Request
DELETE/v1/stores/{store_identifier}/files/{file_identifier}
from mixedbread import Mixedbread
mxbai = Mixedbread(api_key="YOUR_API_KEY")
response = mxbai.stores.files.delete(
store_identifier="my-knowledge-base",
file_identifier="f47ac10b-58cc-4372-a567-0e02b2c3d479",
)
print(response)Response
JSON
{
"id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"object": "store.file",
"deleted": true
}Last updated: January 7, 2026