I am creating a group using the ArcGIS for Python API, there is limited information in the API Reference here.
And I found some more information in the Rest Reference relating to the membershipAccess property that it can be org | collaboration | none, and none is the default. The ArcGIS for Python API also indicates that the default is None based on the parameters for the create function.
The default, however, when I run the below snippet is that the membershipAccess property is set to org.
from arcgis.gis import GIS
agol = GIS("home")
agol.groups.create(
title = "Test_Group",
tags = ["Test", "Group"],
)

Even if I use the update function to update the membershipAccess to None it does not take? What settings can I use to perform this action using the ArcGIS for Python API, or is it simply a bug?
from arcgis.gis import GIS
agol = GIS("home")
group = agol.groups.get("GROUP_ID")
group.update(
membership_access = None # typo fixed from acess
)
If I set manually to Any organization's members, and the query that property, the property does not exist, but it does exist when org or collaboration is set.