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

Commit

Permalink
Deprecate old admin API GET /_synapse/admin/v1/users/<user_id> (#9429)
Browse files Browse the repository at this point in the history
This API was undocumented and nonsensical.
  • Loading branch information
dklimpel committed Feb 18, 2021
1 parent 8ec2217 commit e8e7012
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
Synapse 1.xx.0 (2021-xx-xx)
===========================

Removal warning
---------------

The v1 list accounts API is deprecated and will be removed in a future release.
This API was undocumented and misleading. It can be replaced by the
[v2 list accounts API](https://github.com/matrix-org/synapse/blob/master/docs/admin_api/user_admin_api.rst#list-accounts),
which has been available since Synapse 1.7.0 (2019-12-13).

Please check if you're using any scripts which use the admin API and replace
`GET /_synapse/admin/v1/users/<user_id>` with `GET /_synapse/admin/v2/users`.


Synapse 1.27.0 (2021-02-16)
===========================

Expand Down
1 change: 1 addition & 0 deletions changelog.d/9429.removal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Deprecate old admin API `GET /_synapse/admin/v1/users/<user_id>`.

0 comments on commit e8e7012

Please sign in to comment.