Skip to content
Framework Docs

Delete Spreadsheet Job

JsonValue sheets().deleteJob(SheetDeleteJobParamsparams = SheetDeleteJobParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
DELETE/api/v1/sheets/jobs/{spreadsheet_job_id}

Delete a spreadsheet parsing job and its associated data.

ParametersExpand Collapse
SheetDeleteJobParams params
Optional<String> spreadsheetJobId
Optional<String> organizationId
Optional<String> projectId
ReturnsExpand Collapse
class SheetDeleteJobResponse:

Delete Spreadsheet Job

package ai.llamaindex.llamacloud.example;

import ai.llamaindex.llamacloud.client.LlamaCloudClient;
import ai.llamaindex.llamacloud.client.okhttp.LlamaCloudOkHttpClient;
import ai.llamaindex.llamacloud.models.sheets.SheetDeleteJobParams;
import ai.llamaindex.llamacloud.models.sheets.SheetDeleteJobResponse;

public final class Main {
    private Main() {}

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

        SheetDeleteJobResponse response = client.sheets().deleteJob("spreadsheet_job_id");
    }
}
{}
Returns Examples
{}