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 <SPAN class="operator token">=</SPAN> GIS<SPAN class="punctuation token">(</SPAN>PortalUrl<SPAN class="punctuation token">,</SPAN> ArcGisOnlineUserName<SPAN class="punctuation token">,</SPAN> ArcGisOnlinePassword<SPAN class="punctuation token">)</SPAN>
display<SPAN class="punctuation token">(</SPAN>gis<SPAN class="punctuation token">.</SPAN>properties<SPAN class="punctuation token">.</SPAN>basemapGalleryGroupQuery<SPAN class="punctuation token">)</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN></SPAN>
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.