Upgrade a Single Agent by Id
put
/serviceapi/agentlifecycle/upgrade/{agenttype}/id/{agentId}
Upgrade the selected agent to the latest version.
Values:
- gateway
- cloudagent
- datacollector
Request
Path Parameters
-
agentId: string
The agentId of the agent.
-
agenttype: string
The type of the agent. The value is case-insensitive. Values: gateway | cloudagent | datacollector
Response
Supported Media Types
- application/json
200 Response
Agent upgrade accepted.
400 Response
Bad Request.
404 Response
Not Found - Agent not available in database
409 Response
Conflict - Entity upgrade already in progress.
412 Response
Pre-condition failed - Pre-requisite checks failed
500 Response
Internal Server Error - Unexpected exception occured