create policy

POST https://{{dcnm}}/rest/control/policies

Creates a specific application of a policy against the switch defined by the serial number in the payload

Request Body

{"source"=>"", "serialNumber"=>"9BF0U5TA3GI", "entityType"=>"SWITCH", "entityName"=>"SWITCH", "templateName"=>"telemetry_config", "priority"=>"500", "description"=>"created from Postman", "nvPairs"=>{"CRT_PATH"=>"/bootflash/telegraf.crt"}}

HEADERS

KeyDatatypeRequiredDescription
dcnm-tokenstring
Content-Typestring