Delete vector store
VectorStoreDeleted vectorStores().delete(VectorStoreDeleteParamsparams = VectorStoreDeleteParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
DELETE/vector_stores/{vector_store_id}
Delete a vector store.
Parameters
Returns
Delete vector store
package com.openai.example;
import com.openai.client.OpenAIClient;
import com.openai.client.okhttp.OpenAIOkHttpClient;
import com.openai.models.vectorstores.VectorStoreDeleteParams;
import com.openai.models.vectorstores.VectorStoreDeleted;
public final class Main {
private Main() {}
public static void main(String[] args) {
OpenAIClient client = OpenAIOkHttpClient.fromEnv();
VectorStoreDeleted vectorStoreDeleted = client.vectorStores().delete("vector_store_id");
}
}{
"id": "id",
"deleted": true,
"object": "vector_store.deleted"
}Returns Examples
{
"id": "id",
"deleted": true,
"object": "vector_store.deleted"
}