Skip to main content
DELETE
/
delete-test-case-definition
/
{test_case_definition_id}
JavaScript
import Retell from 'retell-sdk';

const client = new Retell({
  apiKey: process.env['RETELL_API_KEY'], // This is the default and can be omitted
});

await client.tests.deleteTestCaseDefinition('test_case_definition_id');
{
  "status": "error",
  "message": "Invalid request format, please check API reference."
}

Documentation Index

Fetch the complete documentation index at: https://docs.retellai.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authentication header containing API key (find it in dashboard). The format is "Bearer YOUR_API_KEY"

Path Parameters

test_case_definition_id
string
required

ID of the test case definition to delete

Response

Test case definition deleted successfully