Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Mention that you cannot login as yourself on /_synapse/admin/v1/users/<user_id>/login #15938

Merged
merged 2 commits into from
Jul 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/15938.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Improve the documentation for the login as a user admin API.
3 changes: 2 additions & 1 deletion docs/admin_api/user_admin_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,8 @@ POST /_synapse/admin/v1/users/<user_id>/login

An optional `valid_until_ms` field can be specified in the request body as an
integer timestamp that specifies when the token should expire. By default tokens
do not expire.
do not expire. Note that this API does not allow a user to login as themselves
(to create more tokens).

A response body like the following is returned:

Expand Down
Loading