Hi! I am looking for some advice on making an API call for Catalyst Center 2.3.7.
I am trying to automate the process of editing a sensor template in Catalyst Center. Specifically, the PSK of the template's SSID needs to be edited at certain time intervals.
For testing purposes, I created a new sensor template via Catalyst Center and wrote a script to obtain an access token for the following API call. To edit the sensor template, I am using the following API endpoint: https://developer.cisco.com/docs/dna-center/edit-sensor-test-template/.
However, when I try to use this API call and provide the template name from the test template previously created, I receive the following error message:
"errorMessage":"Put body's 'templateName' must be an existing test template name"
Thanks in advance for the assistance.