Update Agent Record

Updates an agent based on the Id and other required details. Searches existing agent by Id. Returns a 404 error if the Id does not exist. Otherwise, updates the agent and returns the agent Id with response 200.

Required fields for this operation:

  • id: The agent ID to update (must be a valid, existing agent ID)
  • name: The name of the System Monitor
  • hostId: The Host ID where the agent is installed (must be a valid host ID that the user has permissions to access)
  • recordStatusName: The record status (Active or Retired)
  • agentToMediators: At least one data processor must be specified in this array

Note: Omitting any of these required fields will result in a 400 Bad Request error.

Language
Credentials
Header
Click Try It! to start a request and see the response here!