You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be helpful to have a built in way to lookup by group name since this is pretty common. Here is the Python code I wrote to do this in a recipe with the SDK as in if its helpful...
group_guid=""group_name="GROUP_NAME_HERE"ifnotgroup_guidandgroup_name:
group_match=client.get("/v1/groups", params={"prefix": group_name}).json()
ifnotgroup_match["results"]:
raiseException("Invalid group name")
eliflen(group_match["results"]) !=1:
raiseException("More than one group name found, ensure you enter a unique name")
else:
group_guid=group_match["results"][0]["guid"]
print(group_guid)
elifnotgroup_name:
raiseException("Either group_guid or group_name must be specified")
For:
Enable
group
find
/get
functionality similar to what is enabled forusers
, i.e.,The text was updated successfully, but these errors were encountered: