Set the configured JAVA_HOME of agents in bulk
This command requests a set of agents set JAVA_HOME, but does not wait for or report the results. Each new JAVA_HOME will not take effect until the respective agent is restarted. The returned maintenance tasks can be used to query the results.Individual sub-requests may succeed or fail independently. A single request may contain up to 250 sub-requests.
Request
POST https://{hostname}:{port}
/cli/agentCLIbulkSetAgentJavaHome
Accept: application/json
Content-Type: application/json
Parameter | Type | Required | Description |
---|---|---|---|
Content-Type | application/json |
true | |
Accept | application/json |
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",
"javahome": "Name of managed Java install or absolute
path of a valid JAVA_HOME directory"
}]
}
Related CLI command: bulkSetAgentJavaHome.