mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-03 22:43:43 +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
|
||||
the user are revoked depends on the request parameters.
|
||||
security:
|
||||
- {}
|
||||
- accessTokenQuery: []
|
||||
- accessTokenBearer: []
|
||||
operationId: changePassword
|
||||
|
|
@ -592,6 +593,7 @@ paths:
|
|||
parameter because the homeserver is expected to sign the request to the
|
||||
identity server instead.
|
||||
security:
|
||||
- {}
|
||||
- accessTokenQuery: []
|
||||
- accessTokenBearer: []
|
||||
operationId: deactivateAccount
|
||||
|
|
|
|||
Loading…
Reference in a new issue