I'd like to update the Portal system properties using the Python API. The documentation seems to indicate that it can be done. However, making an assignment to System.properties doesn't appear to udpate the system properties.
<SPAN class="keyword token">from</SPAN> arcgis<SPAN class="punctuation token">.</SPAN>gis <SPAN class="keyword token">import</SPAN> GIS
gis <SPAN class="operator token">=</SPAN> GIS<SPAN class="punctuation token">(</SPAN>gis_base_url<SPAN class="punctuation token">,</SPAN> user<SPAN class="punctuation token">,</SPAN> password<SPAN class="punctuation token">)</SPAN>
system_properties <SPAN class="operator token">=</SPAN> gis<SPAN class="punctuation token">.</SPAN>admin<SPAN class="punctuation token">.</SPAN>system<SPAN class="punctuation token">.</SPAN>properties
system_properties<SPAN class="punctuation token">[</SPAN><SPAN class="string token">'privatePortalURL'</SPAN><SPAN class="punctuation token">]</SPAN> <SPAN class="operator token">=</SPAN> system_properties<SPAN class="punctuation token">[</SPAN><SPAN class="string token">'WebContextURL'</SPAN><SPAN class="punctuation token">]</SPAN>
gis<SPAN class="punctuation token">.</SPAN>admin<SPAN class="punctuation token">.</SPAN>system<SPAN class="punctuation token">.</SPAN>properties <SPAN class="operator token">=</SPAN> system_properties<SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>