Hey All,
I have a dataset called user_dataset that contains a list of users, including their names and email addresses. This dataset is updated periodically. I want to add these users to Foundry (only if they haven’t been added already) and assign them to a specific group.
However, I do not have administrator permissions. Due to my limited access, I’m unable to create rule-based associations.
Is there a way to achieve this programmatically despite the permission constraints? I would appreciate any guidance or suggestions.
Thanks.
I think the best path here would be to have an admin create a rule for you. With that being said, I believe you can achieve some of this (assuming you have appropriate permissions to add users to groups) leveraging the public api’s add group member endpoint to add all users in your dataset to a group. I do not believe the public API has an endpoint to create users that do not already exist.
If you end up going down this route, highly recommend checking out foundry sdk as it will make interacting with these endpoints more seamless.
1 Like