Skip to main content

bulkDelete

client.jobs.bulkDelete(data: BulkDeleteJobsRequest): Promise<void>

Deletes multiple jobs in a single batch operation.

More efficient than deleting jobs one at a time when you need to remove several jobs simultaneously.

Parameters

ParameterTypeRequiredDescription
dataBulkDeleteJobsRequestYesPayload containing the array of job IDs to delete

Returns

Promise<void> — A promise that resolves when all specified jobs have been deleted

Example

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.jobs.bulkDelete(/* BulkDeleteJobsRequest */);
console.log(result);