Delete multiple Testcases by their IDs.
JavaScript
import Scorecard from 'scorecard-ai'; const client = new Scorecard({ apiKey: 'My API Key', }); const testcase = await client.testcases.delete({ ids: ['123', '124', '125'] }); console.log(testcase.success);
{ "success": true }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
IDs of Testcases to delete.
Testcases deleted successfully
Whether the deletion was successful.
Was this page helpful?