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.knowledgeBase.delete('kb_1234567890');{
"status": "error",
"message": "API key is missing or invalid."
}Delete an existing knowledge base
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.knowledgeBase.delete('kb_1234567890');{
"status": "error",
"message": "API key is missing or invalid."
}Was this page helpful?