The REST endpoint /reconnect (added in T9354 as the replacement for reset connection) is missing from the location regex in data/templates/https/nginx.default.j2. nginx never forwards it to the API socket, so the operation is not available through the HTTP API.
Fix: add reconnect to the location regex and a smoketest (test_api_reconnect) checking the endpoint is reached.