Create a Tag (REST API)
Tags allow you to group objects using keywords or phrases. Use tags to identify the purpose of
a rule or configuration object and to help you better organize your rulebase. To ensure
that policy rules are properly tagged. You must create a tag before you can assign it as
a group tag on a rule.
Link tags are tags that enable you use to identify groups of
physical interfaces specifically for an SD-WAN configuration on
Panorama™. Some examples of link tags are Low Cost Paths, General
Access, Private HQ, and Backup. The following is an example of a
REST API request to create a link tag.
curl -X POST 'https://<Panorama>/restapi/v11.1/objects/tags?location=device-group&device-group=SD-WAN_Branch&name=Low-Cost-Paths'
-H 'X-PAN-KEY: <your key>
-d '{
"entry": {
"@name": "Low-Cost-Paths”,
“comments”: “Groups two low cost broadband links and a backup link”
}
}'