Delete vector store

DELETEhttps:/api.openai.com/v1/vector_stores/{vector_store_id}

Delete a vector store.

Path parameters

  • vector_store_id
    string
    Required
    The ID of the vector store to delete.

Response

Deletion status

Example request
1
curl https://api.openai.com/v1/vector_stores/vs_abc123 \
2
-H "Authorization: Bearer $OPENAI_API_KEY" \
3
-H "Content-Type: application/json" \
4
-H "OpenAI-Beta: assistants=v2" \
5
-X DELETE
Example response
1
{
2
id: "vs_abc123",
3
object: "vector_store.deleted",
4
deleted: true
5
}
Built with