DELETE
/
delete-agent
/
{agent_id}
import Retell from 'retell-sdk';

const client = new Retell({
  apiKey: 'YOUR_RETELL_API_KEY',
});

async function main() {
  await client.agent.delete('oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD');
}

main();
This response has no body data.

Authorizations

Authorization
string
header
required

Authentication header containing API key (find it in dashboard). The format is "Bearer YOUR_API_KEY"

Path Parameters

agent_id
string
required

Unique id of the agent to be deleted.