addTagToAgent

Add a tag to an agent

Format

udclient [global-args...] [global-flags...]
  addTagToAgent [parameters]

Parameters

Table 1. Parameters
Parameter Type Required Description
agent string true Name or ID of the agent
tag string true Name of the tag
color string false Hex representation of the color for the tag, such as FF0000. This parameter is used only if the tag is being created.
description string false Description of the tag. This parameter is used only if the tag is being created.

Example

udclient -username jsmith -password passwd 
  -weburl https://deployserver.example.com:8443
  addTagToAgent
  -agent Agent1
  -tag Tag1

Related REST command: Add a tag to an agent.