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.conversationFlowComponent.delete('conversation_flow_component_id');
{ "status": "error", "message": "API key is missing or invalid."}
Conversation Flow Components
Delete Conversation Flow Component
Delete a shared conversation flow component. When deleting a shared component, creates local copies for all linked conversation flows.
DELETE
/
delete-conversation-flow-component
/
{conversation_flow_component_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.conversationFlowComponent.delete('conversation_flow_component_id');
{ "status": "error", "message": "API key is missing or invalid."}