Skip to main content

deleteCase

client.autoTesting.deleteCase(id: string): Promise<unknown>

Deletes a test case.

Permanently removes the specified test case from the system.

Parameters

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the test case to delete

Returns

Promise<unknown> — A promise that resolves when the test case has been deleted

Example

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

const client = new CodeBoltClient();

const result = await client.autoTesting.deleteCase('id');
console.log(result);