Skip to main content

deleteSplitProposal

client.jobs.deleteSplitProposal(id: string, proposalId: string): Promise<void>

Deletes a split proposal.

Removes a pending split proposal without executing the split. Use this to reject or cancel a proposed job decomposition.

Parameters

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the parent job
proposalIdstringYesThe unique identifier of the split proposal to delete

Returns

Promise<void> — A promise that resolves when the proposal has been deleted

Example

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

const client = new CodeBoltClient();

const result = await client.jobs.deleteSplitProposal('id', 'proposalId');
console.log(result);