udclient [global-args...] [global-flags...]
getTagsOnResource [parameters]
Parameter | Type | Required | Description |
---|---|---|---|
resource | string | true | Name or ID of the resource |
udclient -username admin -password admin
-weburl https://myserver.example.com:8443
getTagsOnResource
-resource /Resource1/Subresource1
[
{
"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.