I found following link to get ArcGIS server and extension list with their expiry details using REST:
I am working with ArcGIS server 10.4.1 and python 2.7.1(32 bit)
If I navigate to the URL mentioned in documentation, it is not working.
Instead,Corrected URL: http://server:port/arcgis/admin/System/licenses
I want to get the license list using Arcpy and trying to hit same URL but getting 302 as response code.
Is there any constraint on this URL ?just I am trying to use resource listed under 'system' folder? or If I am trying to get license using wrong way?
Thanks for your help!