Hi there,
I am trying to programmatically change the Visibility Range of layers published to the Enterprise Portal. It is possible to do this manually (as shown below), yet that is not the preferred option as I have to adjust a large amount of layers.

When having a look at the Python API I did not find a method which would be able to do that. Any help in this matter would be highly appreciated.
I have also been looking through GeoNet and came across similar questions (See https://community.esri.com/thread/241752-setting-visibility-scale-using-the-arcgis-api-for-python, https://community.esri.com/thread/192664-set-visibility-range-andor-add-filter-using-arcgis-python-api), yet I did not find the answer there.