Sample - OpenAI API
DELETE/vector_stores/{vector_store_id}

Delete a vector store

Deletes a vector store identified by its ID. Use this endpoint when you no longer need the vector store and its associated configuration.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 parameter
vector_store_idstringrequired
The identifier of the vector store to delete.

2 status codes
200Returns a deletion result containing the vector store ID, a `deleted` flag, and the `vector_store.deleted` object type.
idstringrequired
deletedbooleanrequired
objectstringrequired
Allowed:vector_store.deleted
429Returned when the request was rejected because a rate limit was exceeded.
errorobjectrequired

Error handling

vector_store_id must identify the vector store you want to delete. A 429 is returned when the request exceeds the applicable rate limit.