Fix: The server is currently unavailable

Symptom

You see an error message similar to this while installing MiKTeX updates:

The server is currently unavailable

More information

The MiKTeX API endpoint (https://api2.miktex.org) is currently unavailable. This could be due to a temporary outage or scheduled maintenance.

For more information visit the MiKTeX project page: https://miktex.org