Rename an agent#

Rename 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.


PUT https://{hostname}:{port}
Accept: application/json

Parameter Type Required Description
agent string true Name or ID of the agent to rename
name string true The new name for the agent
Parameter Type Required Description
Accept application/json true  


curl -k -u jsmith:passwd 

  agent=MyAgent&name=NewAgentName" -X PUT

Related CLI command: forceRenameAgent.

Parent topic: agentCLI resource