Delete an agent
DELETE/api/v1/agents/:agent_id
Deletes an agent by ID. Fails with 409 if the agent has dependent generations or traces, unless force=true is passed, in which case those generations and traces are deleted along with the agent.
Request
Responses
- 204
- 401
- 403
- 404
- 409
Deleted
Unauthorized
Forbidden
Not found
Agent has dependent generations or traces (pass force=true to delete anyway)