Delete Index
beta().indexes().delete(IndexDeleteParamsparams = IndexDeleteParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
DELETE/api/v1/indexes/{index_id}
Delete Index
package com.llamacloud_prod.api.example;
import com.llamacloud_prod.api.client.LlamaCloudClient;
import com.llamacloud_prod.api.client.okhttp.LlamaCloudOkHttpClient;
import com.llamacloud_prod.api.models.beta.indexes.IndexDeleteParams;
public final class Main {
private Main() {}
public static void main(String[] args) {
LlamaCloudClient client = LlamaCloudOkHttpClient.fromEnv();
client.beta().indexes().delete("index_id");
}
}