We are updating several scene layers on our portal with python scripts, and at the moment we need to manually go to the web-page to rebuild the Cache each time our scripts are done running.
Is there any methods in either pure ArcGIS API (with Requests etc.) or with the arcgis package for python to do this?