mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-25 12:19:21 -05:00
491f0dab1b
The Delete Room admin API allows server admins to remove rooms from server
and block these rooms.
`DELETE /_synapse/admin/v1/rooms/<room_id>`
It is a combination and improvement of "[Shutdown room](https://github.com/matrix-org/synapse/blob/develop/docs/admin_api/shutdown_room.md)" and "[Purge room](https://github.com/matrix-org/synapse/blob/develop/docs/admin_api/purge_room.md)" API.
Fixes: #6425
It also fixes a bug in [synapse/storage/data_stores/main/room.py](synapse/storage/data_stores/main/room.py) in ` get_room_with_stats`.
It should return `None` if the room is unknown. But it returns an `IndexError`.
|
||
---|---|---|
.. | ||
admin_api | ||
dev | ||
privacy_policy_templates/en | ||
sphinx | ||
systemd-with-workers | ||
.sample_config_header.yaml | ||
ACME.md | ||
ancient_architecture_notes.md | ||
application_services.md | ||
architecture.md | ||
CAPTCHA_SETUP.md | ||
code_style.md | ||
consent_tracking.md | ||
delegate.md | ||
federate.md | ||
jwt.md | ||
log_contexts.md | ||
manhole.md | ||
media_repository.md | ||
message_retention_policies.md | ||
metrics-howto.md | ||
MSC1711_certificates_FAQ.md | ||
openid.md | ||
opentracing.md | ||
password_auth_providers.md | ||
postgres.md | ||
README.md | ||
replication.md | ||
reverse_proxy.md | ||
room_and_user_statistics.md | ||
sample_config.yaml | ||
sample_log_config.yaml | ||
server_notices.md | ||
spam_checker.md | ||
sso_mapping_providers.md | ||
structured_logging.md | ||
tcp_replication.md | ||
turn-howto.md | ||
url_previews.md | ||
user_directory.md | ||
workers.md |
Synapse Documentation
This directory contains documentation specific to the synapse
homeserver.
All matrix-generic documentation now lives in its own project, located at matrix-org/matrix-doc
(Note: some items here may be moved to matrix-org/matrix-doc at some point in the future.)