Hello All,
I have one requirement where I am required to assign the smart group to user group VIA API. I am using below API to get this done in password Safe
POST UserGroups/
These are parameters I am setting in Body
{
"groupName":"from API",
"groupType": "BeyondInsight",
"description": "from API",
"SmartRuleAccess" : "e { SmartRuleID: 10249, AccessLevelID: 1 } ]"
}
After executing the API, group is getting created however , Smart group is not getting assigned to user group. Smart rule with Rule Id 10249 exists in environment and it is active. AccessLevelID=1 is to be used to provide the readonly permission. Hence I am setting the same .
Can anyone please check and let me know what’s the problem here, why Smart group not getting enabled via API? Is there anything that I am missing while configuration ?
Awaiting your response
Regards,
Imran Aliyani