Skip to content

Commit

Permalink
Clarify that an access token is optional on /account/password and `…
Browse files Browse the repository at this point in the history
…/account/deactivate` (#1843)

Signed-off-by: Kévin Commaille <[email protected]>
Co-authored-by: Richard van der Hoff <[email protected]>
  • Loading branch information
zecakeh and richvdh committed Jun 18, 2024
1 parent 6dfab46 commit 4e32fca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1843.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarify that an access token is optional on the `POST /account/password` and `POST /account/deactivate` endpoints.
2 changes: 2 additions & 0 deletions data/api/client-server/registration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4e32fca

Please sign in to comment.