JavaScript
import Retell from 'retell-sdk'; const client = new Retell({ apiKey: 'YOUR_RETELL_API_KEY', }); await client.tests.deleteTestCaseDefinition('test_case_definition_id');
{ "status": "error", "message": "Invalid request format, please check API reference." }
Delete a test case definition
Authentication header containing API key (find it in dashboard). The format is "Bearer YOUR_API_KEY"
ID of the test case definition to delete
Test case definition deleted successfully
Was this page helpful?