Update Agent
POST/api/agents/updateagent
Tier: Public — stable, supported for third-party integration.
Updates an agent's name, hardware key, heartbeat tuning, and extended properties. If HardwareKey changes, writes an AuthEvent (ApiKeyChanged). Does not re-validate the new hardware key for global uniqueness (only create does).
Request
Responses
- 200
- 400
- 401
- 403
Returns the updated Agents.AgentDetailDto.
Unknown id (NotFound) or validation failure — error array.
Caller is not authenticated.
Caller lacks LocafiModule.Agent Update.