Agents
Delete agent
DELETE/v2/agents/:agent_key
Deletes an agent and its configuration. Deletion is permanent. If active sessions or other constraints block the deletion, the request returns an error instead.
Request
Responses
- 204
- 403
- 404
- 409
The agent is deleted.
Permissions do not allow deleting this agent.
Agent not found.
The agent is still referenced — by aliases, by hooks that name it as the judge of an agent condition, or by saved evaluations that name it as their agent_key. Remove or rebind the references, then retry.