Skip to content
Product Docs

Delete a quota configuration

quotaManagement().delete(QuotaManagementDeleteParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
DELETE/api/v1/beta/quota-management/{quota_id}

Delete a quota configuration by removing the override.

ParametersExpand Collapse
QuotaManagementDeleteParams params
Optional<String> quotaId
String organizationId

Delete a quota configuration

package ai.llamaindex.llamacloudadmin.example;

import ai.llamaindex.llamacloudadmin.client.LlamaCloudAdminClient;
import ai.llamaindex.llamacloudadmin.client.okhttp.LlamaCloudAdminOkHttpClient;
import ai.llamaindex.llamacloudadmin.models.quotamanagement.QuotaManagementDeleteParams;

public final class Main {
    private Main() {}

    public static void main(String[] args) {
        LlamaCloudAdminClient client = LlamaCloudAdminOkHttpClient.fromEnv();

        QuotaManagementDeleteParams params = QuotaManagementDeleteParams.builder()
            .quotaId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
            .organizationId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
            .build();
        client.quotaManagement().delete(params);
    }
}
Returns Examples