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 does not have an example.

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.

Example:

"oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD"

Response

204
_mintlify/placeholder

No Content