Grafana returned 404 on PUT at /api/admin/settings

What happened?

When I tried to change a setting using PUT api/admin/settings using Basic Auth I got Error 404

What was expected to happen?
Response 200 OK

{ “message”: “settings updated” }

Steps to reproduce the problem:

In a linux terminal type:
echo '{"updates": {"dashboards": {"minrefreshinterval": "1s"}}}' | curl -sS -X PUT -H "Content-Type: application/json" -H "Accept: application/json" -H "Authorization: Basic HEXPassword" http:\admin:password@localhost:3000/api/admin/settings -d @-

Version numbers (grafana, prometheus, graphite, plugins, operating system, etc.):
Grafana 9.2.4
Linux ubuntu 20.04