https://{{dnac}}:{{port}}/api/v1/tag/association

POST https://{{dnac}}:{{port}}/api/v1/tag/association

Associates an existing tag with a network-device.

Tag needs to have been created before it can be associated

network-device is the deviceId environment variable, you need to change this

Request Body

{"resourceId"=>"{{deviceId}}", "resourceType"=>"network-device", "tag"=>"InterestingDevice"}

HEADERS

KeyDatatypeRequiredDescription
x-auth-tokenstring
Content-typestring