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: "vs_abc123",
object: "vector_store.deleted",
deleted: true
}
Returns Examples
{
id: "vs_abc123",
object: "vector_store.deleted",
deleted: true
}