mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-14 10:03:42 +01:00
Clarify that an access token is optional on /account/password and /account/deactivate (#1843)
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
parent
6dfab46268
commit
4e32fca05f
|
|
@ -0,0 +1 @@
|
||||||
|
Clarify that an access token is optional on the `POST /account/password` and `POST /account/deactivate` endpoints.
|
||||||
|
|
@ -387,6 +387,7 @@ paths:
|
||||||
access token provided in the request. Whether other access tokens for
|
access token provided in the request. Whether other access tokens for
|
||||||
the user are revoked depends on the request parameters.
|
the user are revoked depends on the request parameters.
|
||||||
security:
|
security:
|
||||||
|
- {}
|
||||||
- accessTokenQuery: []
|
- accessTokenQuery: []
|
||||||
- accessTokenBearer: []
|
- accessTokenBearer: []
|
||||||
operationId: changePassword
|
operationId: changePassword
|
||||||
|
|
@ -592,6 +593,7 @@ paths:
|
||||||
parameter because the homeserver is expected to sign the request to the
|
parameter because the homeserver is expected to sign the request to the
|
||||||
identity server instead.
|
identity server instead.
|
||||||
security:
|
security:
|
||||||
|
- {}
|
||||||
- accessTokenQuery: []
|
- accessTokenQuery: []
|
||||||
- accessTokenBearer: []
|
- accessTokenBearer: []
|
||||||
operationId: deactivateAccount
|
operationId: deactivateAccount
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue