Is is possible to update the properties of a portal via the ArcGIS API for Python yet? I want to change the basemapGalleryGroupQuery property but can't find any way to do. I can access what I want to change using the following:
gis = GIS(PortalUrl, ArcGisOnlineUserName, ArcGisOnlinePassword)
If not, is it possible to access the token generated after running GIS()? That way I could build an Update Rest request myself without having to separately request a token.