Delete Agent
DELETE/api/agents/deleteagent/:id
Tier: Public — stable, supported for third-party integration.
Soft-deletes an agent and unlinks its licence seat (transactional). Writes an AuthEvent (AgentDeleted).
Request
Responses
- 200
- 400
- 401
- 403
Returns true.
Unknown id (NotFound) or delete failure — error array.
Caller is not authenticated.
Caller lacks LocafiModule.Agent Delete.