PUT https://{hostname}:{port} /cli/agentCLI/rename?{parameters}
Related CLI command: forceRenameAgent.