Uninstall a managed Java installations in bulk

This command requests a set of agents 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. The returned maintenance tasks can be used to query the result. Individual sub-requests may succeed or fail independently. A single request may contain up to 250 sub-requests.

Request

POST https://{hostname}:{port}
    /cli/agentCLIbulkUninstallAgentJava
Accept: {contentType}
Content-Type: application/json
Table 1. Header parameters
Parameter Type Required Description
Content-Type application/json true
Accept
  • application/json
  • application/yaml
true
This command takes a JSON request string or file. Use the following template for the request:
{
  "README": "See entity attribute for the template 
  description expected by this endpoint.",
  "entity": [{
    "agent": "Name or ID of an agent",
    "package": "Name of a managed Java package"
  }]
}

Related CLI command: bulkUninstallAgentJava.