Add a tag to a resource

Request

PUT https://{hostname}:{port}
  /cli/resource/tag?{parameters}
Table 1. Request parameters
Parameter Type Required Description
resource string true Name or ID of the resource
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.

Related CLI command: addTagToResource.


Feedback