REST API: via Python to get the ETag and use it to update a host?

Probably a wrong API_URL. Is your Site reachable via https? Otherwise please modify the API_URL variable to “http” instead of “https”. If this is not the problem please test the value of your API_URL variable in a webbrowser.

Regards Michael