cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
258
Views
0
Helpful
3
Replies

vManage 20.15.3 API: how to add/change a device tag under WAN Edge Lis

eg183100
Level 1
Level 1

Hello all

When you look at the WAN Edge List there is a column called Tags. I have created some tags and can assign them manually.

but I can not find in the documentation on how to assign the tags via API ?

anyone an Idea ?


Erik

 

3 Replies 3

It used to be POST /dataservice/tag, with payload

{
"create": [
{
"name": "TAG_NAME",
"tagId": "",
"tagType": "device"
}
]
}

 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

ekhabaro
Cisco Employee
Cisco Employee

On vManage there is built-in documentation available which also can be used to try and test different API calls easily, just navigate to your vManage /apidocs/#/Tag/createTag for example  

wajidhassan
Level 4
Level 4

I've done this using /dataservice/system/device/tag with a payload that includes deviceId and the tag name. Also, try the /apidocs UI in vManage—it helps a lot for testing and exploring the right syntax.