Skip to main content
DELETE
/
v1
/
agents
/
{agent_id}
Delete an agent
curl --request DELETE \
  --url https://agents.assemblyai.com/v1/agents/{agent_id} \
  --header 'Authorization: <api-key>'
{
  "detail": "Unauthorized"
}

Authorizations

Authorization
string
header
required

Your AssemblyAI API key in the Authorization header. The raw key works directly; a Bearer prefix is also accepted.

Path Parameters

agent_id
string
required

The agent's unique ID.

Example:

"7ad24396-b822-4dca-871a-be9cc4781cf9"

Response

Agent deleted.