http status code

This commit is contained in:
David Baker 2019-07-02 11:27:46 +01:00
parent d15c9df115
commit 1a669348d8

View file

@ -229,8 +229,9 @@ may return:
* `M_UNAUTHORIZED` errcode with HTTP status code 401. This indicates that
the user must authenticate with OpenID and supply a valid `access_token`.
* `M_TERMS_NOT_SIGNED` errcode. This indicates that the user must agree to
(new) terms in order to use or continue to use the service.
* `M_TERMS_NOT_SIGNED` errcode with HTTP status code 403. This indicates
that the user must agree to (new) terms in order to use or continue to
use the service.
The `/_matrix/identity/v2/3pid/unbind` endpoint must not return either of these
errors if the request has a valid signature from a Homeserver, and is being authenticated as such.