De-install a Single Agent by AgentId
delete
/serviceapi/agentlifecycle/deinstall/{agenttype}/id/{agentId}
De-install the selected agent.
Values:
- gateway
- cloudagent
- datacollector
Request
Path Parameters
-
agentId: string
The Agent Id.
-
agenttype: string
The type of the agent. The value is case-insensitive. Values: gateway | cloudagent | datacollector
Response
Supported Media Types
- application/json
202 Response
Accepted - All entities accepted for processing
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