Forum Discussion
Cole_McDonald
6 years agoProfessor
Forgive me if you have already tried and discounted this for whatever reason, but my first thought is to
- 1) GET the json for the current "Template" using the rest API to get the entirety of its definition
- 2) Change the JSON to match the changes you need made to that (customer name, team name, project name)
- 3) POST the changed JSON to make the new group
- 4) Build a recursive function to walk that hierarchy
-
5) Grab each of the dashboards and change the appliesto to match the new set of devices
- a)I'm currently doing that piece with a token at the directory level for each of our customers that I can then just change at the dashboard group level to make a full dashboard suite for them.
- 6) Duplicate each of those to the new dashboard group, and change the token.
Related Content
- 6 months ago
- 2 months ago