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

Commit e8e7012

Browse files
authored
Deprecate old admin API GET /_synapse/admin/v1/users/<user_id> (#9429)
This API was undocumented and nonsensical.
1 parent 8ec2217 commit e8e7012

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

CHANGES.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
Synapse 1.xx.0 (2021-xx-xx)
2+
===========================
3+
4+
Removal warning
5+
---------------
6+
7+
The v1 list accounts API is deprecated and will be removed in a future release.
8+
This API was undocumented and misleading. It can be replaced by the
9+
[v2 list accounts API](https://github.com/matrix-org/synapse/blob/master/docs/admin_api/user_admin_api.rst#list-accounts),
10+
which has been available since Synapse 1.7.0 (2019-12-13).
11+
12+
Please check if you're using any scripts which use the admin API and replace
13+
`GET /_synapse/admin/v1/users/<user_id>` with `GET /_synapse/admin/v2/users`.
14+
15+
116
Synapse 1.27.0 (2021-02-16)
217
===========================
318

changelog.d/9429.removal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Deprecate old admin API `GET /_synapse/admin/v1/users/<user_id>`.

0 commit comments

Comments
 (0)