Fix documentation error

We return 403 on a wrong API key, not 401 - 401 causes issues with Basic Auth setups as reported
in #2297 and hence fixed in b1f9e070a4.

Closes #2706
This commit is contained in:
Gina Häußge committed 2018-08-20 14:25:28 +02:00
1 parent a24363c4b0
commit b5a161594d
1 file changed
+1 -1
+1 -1
View File
@@ -23,7 +23,7 @@ The API key must be supplied in the custom HTTP header ``X-Api-Key``, e.g.
Host: example.com
X-Api-Key: abcdef...
If it is missing or included but invalid, OctoPrint will directly return a response with status :http:statuscode:`401`.
If it is missing or included but invalid, OctoPrint will directly return a response with status :http:statuscode:`403`.
For testing purposes it is also possible to supply the API key via a query parameter ``apikey``, e.g.