Agents
DELETE
/api/v1/agents/{agent_id}

Delete an agent (scoped to the active workspace). Returns 409 if dependent records exist unless force=true.

Authorization

AuthorizationBearer <token>

JWT access token. Use: Authorization: Bearer .

In: header

Path Parameters

agent_id*Agent Id

Query Parameters

force?Force

Force delete with all dependent records

Defaultfalse

Header Parameters

X-Workspace-Id?string|null
Authorization?string|null
X-API-Key?string|null
X-EFFICIENTAI-API-KEY?string|null

Response Body

application/json

application/json

curl -X DELETE "https://example.com/api/v1/agents/string"
null

Community & contact

  1. Found a bug or have a feature request? Open a GitHub issue.
  2. Join our Discord for faster replies!