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/agentCLIuninstallJava?{parameters}
Accept: {contentType}
Table 1. Request parameters
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
Table 2. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true

Related CLI command: uninstallAgentJava.