getTagsOnResource

List the tags on a resource

Format

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

Parameters

Table 1. Request parameters
Parameter Type Required Description
resource string true Name or ID of the resource

Example

udclient -username admin -password admin 
  -weburl https://myserver.example.com:8443
  getTagsOnResource
  -resource /Resource1/Subresource1

Example response

[
  {
    "id": "eeff1b7d-ef7c-4052-812b-a97405b97606",
    "name": "Tag1",
    "color": "#FFFFFF",
    "description": "",
    "objectType": "Resource"
  },
  {
    "id": "b03313f2-a3fa-4ac8-a84a-32869958ba06",
    "name": "Tag2",
    "color": "#87ceeb",
    "description": "",
    "objectType": "Resource"
  }
]

Related REST command: List the tags on a resource.


Feedback