Skip to main content
DELETE
CSharp (SDK)

Authorizations

Authorization
string
header
required

Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.

Headers

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Path Parameters

vector_store_id
string
required

The ID of the vector store that the file belongs to.

file_id
string
required

The ID of the file to delete.

Response

200 - application/json

OK

Deletion status for a vector store file.

id
string
required

The ID of the deleted file.

object
any
required

The object type, which is always 'vector_store.file.deleted'.

deleted
boolean
required

Whether the deletion was successful.