diff options
author | Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> | 2021-11-01 16:11:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-01 15:11:24 +0000 |
commit | 66bdca3e317d1fa764cf52547aee7409acc59676 (patch) | |
tree | ca3cf40ec235355d6393795db6171a8ac0b6b776 /docs | |
parent | Support for serving server well-known files (#11211) (diff) | |
download | synapse-66bdca3e317d1fa764cf52547aee7409acc59676.tar.xz |
Remove deprecated delete room admin API (#11213)
Remove deprecated delete room admin API, `POST /_synapse/admin/v1/rooms/<room_id>/delete`
Diffstat (limited to 'docs')
-rw-r--r-- | docs/admin_api/rooms.md | 10 | ||||
-rw-r--r-- | docs/upgrade.md | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/docs/admin_api/rooms.md b/docs/admin_api/rooms.md index acf1cab2a2..62eeff9e1a 100644 --- a/docs/admin_api/rooms.md +++ b/docs/admin_api/rooms.md @@ -520,16 +520,6 @@ With all that being said, if you still want to try and recover the room: 4. If `new_room_user_id` was given, a 'Content Violation' will have been created. Consider whether you want to delete that roomm. -## Deprecated endpoint - -The previous deprecated API will be removed in a future release, it was: - -``` -POST /_synapse/admin/v1/rooms/<room_id>/delete -``` - -It behaves the same way than the current endpoint except the path and the method. - # Make Room Admin API Grants another user the highest power available to a local user who is in the room. diff --git a/docs/upgrade.md b/docs/upgrade.md index 06f479f86c..136c806c41 100644 --- a/docs/upgrade.md +++ b/docs/upgrade.md @@ -87,6 +87,16 @@ process, for example: # Upgrading to v1.47.0 +## Removal of old Room Admin API + +The following admin APIs were deprecated in [Synapse 1.34](https://github.com/matrix-org/synapse/blob/v1.34.0/CHANGES.md#deprecations-and-removals) +(released on 2021-05-17) and have now been removed: + +- `POST /_synapse/admin/v1/<room_id>/delete` + +Any scripts still using the above APIs should be converted to use the +[Delete Room API](https://matrix-org.github.io/synapse/latest/admin_api/rooms.html#delete-room-api). + ## Deprecation of the `user_may_create_room_with_invites` module callback The `user_may_create_room_with_invites` is deprecated and will be removed in a future |