With this API, you can get a hierarchical list of asset tags for the subscription.
API Request
curl -X GET "<gateway_base_url>/pcrs/1.0/assetTag/list" \
-H "Authorization: <bearer_token>" \
-H "Accept: application/json"
JSON Response
[
{
"id": 2001,
"name": "Environment",
"isFavorite": false,
"children": [
{
"id": 2002,
"name": "Production",
"isFavorite": false,
"children": []
}
]
}
]