how to automate pdp through programming

habib ⚪️
edited January 4 in APIs


I am new to domo and want to develop a script that get users data from my local sql database and manage pdp on domo automatically via domo api. I go through one of the vidoe where the same concept described with node script. But the script code is not available. If anyone can help me from where i can get that code.

Also let say if we have 10 datasets, should we need to create PDP policies for each dataset i-e get all dataset by calling api and then iterate throgh each datasetid and create or update policy or is there any other way to do the same.