import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
});
await client.call.delete('119c3f8e47135a29e65947eeb34cf12d');{
"status": "error",
"message": "Invalid request format, please check API reference."
}Delete a specific call and its associated data
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
});
await client.call.delete('119c3f8e47135a29e65947eeb34cf12d');{
"status": "error",
"message": "Invalid request format, please check API reference."
}Authentication header containing API key (find it in dashboard). The format is "Bearer YOUR_API_KEY"
The call id to delete.
"119c3f8e47135a29e65947eeb34cf12d"
Call successfully deleted. No content returned.
Was this page helpful?