agentCLI resource Resources for working with agents. Set an agent unavailableGet maintenance task of an agentGet maintenance tasks of an agentAdd a tag to an agentAdd an agent to a teamAdd public key pin for a server host to an agentThis command requests the agent add a public key pin for a server host, but does not wait for or report the result. The returned maintenance task can be used to query the result.Add public key pins for server hosts to an agents in bulkThis command requests a set of agent add a public key pin for a server host, but does not wait for or report the results. 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.Add public key pins for server hosts to agents in bulkThis command requests a set of agents set or modify their keypair policy, but does not wait for or report the results.Delete a tag from an agentDelete an agentAgents should be shut down before deletion.Forget Agent CertificatesGet information about all agentsGet information about an agentThis command returns a JSON representation of an agent.Get list of managed Java installationsThis command returns a list of managed Java installations for an agent.Get list of managed Java installations in bulkThis command returns a list of managed Java installations for a set of agents. Individual sub-requests may succeed or fail independently. A single request may contain up to 250 sub-requests.Get the value of a property on an agentInstall Java packages as a new managed Java installations in bulkThis command request a set of agents install Java, but does not wait for or report the results. 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.Install a Java package as a new managed Java installationThis command requests the agent install Java, but does not wait for or report the result. The returned maintenance task can be used to query the result.List all tags on an agentRemove a property from an agentRemove an agent from a teamRemove public key pin for a server host from an agentThis command requests the agent remove a public key pin for a server host, but does not wait for or report the result. The returned maintenance task can be used to query the result.Remove public key pins for server hosts from agents in bulkThis command requests a set of agent remove a public key pin for a server host, but does not wait for or report the results. 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.Rename an agentRename an agent. Use this command if running the agent configuration script in the agent bin directory is not convenient. Only the administrator can run this method.Restart an agentReturn high watermarks for agent usageReturns a JSON object with count of agents to statusReturns a JSON Object with count of agents to status. Expected format: { "ONLINE":4, "UPGRADE_RECOMMENDED":1 } Requires Settings Tab permission.Set a property on a agentSet or modify an agent's keypair policyThis command requests the agent set or modify its keypair policy, but does not wait for or report the result.Set the configured JAVA_HOME of agents in bulkThis 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.Set the configured JAVA_HOME of an agentThis command requests the agent set JAVA_HOME, but does not wait for or report the result. The new JAVA_HOME will not take effect until the agent is restarted. The returned maintenance task can be used to query the result.Set the license for an agentShut down an agentTest the connection from an agent to the serverUninstall a managed Java installationThis 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.Uninstall a managed Java installations in bulkThis 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.Update agent settingsUpgrade an agentThe agent will be upgraded to the agent version corresponding with the server version.Parent topic: REST commands for the DevOps Deploy server