import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
});
await client.agent.delete('oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD');{
"status": "error",
"message": "Invalid request format, please check API reference."
}Delete an existing agent
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
});
await client.agent.delete('oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD');{
"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"
Unique id of the agent to be deleted. Deletes all versions of the agent.
"oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD"
No Content
Was this page helpful?