diff options
author | Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> | 2021-04-09 10:44:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-09 09:44:40 +0100 |
commit | 48a1f4db313026c79fbc7d9d950175693368d98b (patch) | |
tree | ea9511a5ad971e9d8755fcb8dbaf40f86351d85e /synapse/rest/admin/__init__.py | |
parent | Bugbear: Add Mutable Parameter fixes (#9682) (diff) | |
download | synapse-48a1f4db313026c79fbc7d9d950175693368d98b.tar.xz |
Remove old admin API `GET /_synapse/admin/v1/users/<user_id>` (#9401)
Related: #8334 Deprecated in: #9429 - Synapse 1.28.0 (2021-02-25) `GET /_synapse/admin/v1/users/<user_id>` has no - unit tests - documentation API in v2 is available (#5925 - 12/2019, v1.7.0). API is misleading. It expects `user_id` and returns a list of all users. Signed-off-by: Dirk Klimpel dirk@klimpel.org
Diffstat (limited to 'synapse/rest/admin/__init__.py')
-rw-r--r-- | synapse/rest/admin/__init__.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/rest/admin/__init__.py b/synapse/rest/admin/__init__.py index 8457db1e22..5daa795df1 100644 --- a/synapse/rest/admin/__init__.py +++ b/synapse/rest/admin/__init__.py @@ -62,7 +62,6 @@ from synapse.rest.admin.users import ( UserMembershipRestServlet, UserRegisterServlet, UserRestServletV2, - UsersRestServlet, UsersRestServletV2, UserTokenRestServlet, WhoisRestServlet, @@ -248,7 +247,6 @@ def register_servlets_for_client_rest_resource(hs, http_server): PurgeHistoryStatusRestServlet(hs).register(http_server) DeactivateAccountRestServlet(hs).register(http_server) PurgeHistoryRestServlet(hs).register(http_server) - UsersRestServlet(hs).register(http_server) ResetPasswordRestServlet(hs).register(http_server) SearchUsersRestServlet(hs).register(http_server) ShutdownRoomRestServlet(hs).register(http_server) |