API for Cloning Policies in TeamViewer
I'm fairly new scripting with the TeamViewer API and I'm looking for some assistance or sample code to point me in the general direction of this.
As part of our MSP Security Policies, our we configure Blacklist/Whitelist options for all devices we support, but we have some customers who have 3rd party providers who provide additional services and use TeamViewer. Obviously we dont want to whitelist these 3rd parties across our entire customer base, so we want to create clones of policies for customers that enable us to add additional contacts and partners.
As there is no way to clone a policy in Teamviewer GUI, is it possible to do this in the API and can someone provide me sample code to achieve this (preferably PowerShell, but any code will do).
Thank you in advance.