Update an Agent's details.
POST /agents/update
Updates the specified agent's details and returns the refreshed agent list. Supply the agent object and the Update* boolean flags in the request body to control which fields are written.
Request
The response object for GetAgents