List the tags on a resource

Request

GET https://{hostname}:{port}
  /cli/resource/tag?{parameters}
Table 1. Request parameters
Parameter Type Required Description
resource string true Name or ID of the resource

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 CLI command: getTagsOnResource.


Feedback