Uninstall a managed Java installation
This command requests the agent uninstall Java, but does not wait for or report the result. If an installation is the active JAVA_HOME or configured as JAVA_HOME, that installation is not removed.
Request
POST https://{hostname}:{port}
/cli/agentCLI/uninstallJava?{parameters}
Accept: {contentType}
| Parameter | Type | Required | Description |
|---|---|---|---|
| agent | string | true | Name or ID of the agent |
| package | string | true | Name of a package to uninstall from the agent |
| Parameter | Type | Required | Description |
|---|---|---|---|
| Accept |
|
true |
Related CLI command: uninstallAgentJava.