mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-29 07:28:55 +03:00
f6cbef6332
People keep asking why their database hasn't gotten smaller after using this API. Signed-off-by: Aaron Raimist <aaron@raim.ist> |
||
---|---|---|
.. | ||
media_admin_api.md | ||
purge_history_api.rst | ||
purge_remote_media.rst | ||
README.rst | ||
register_api.rst | ||
user_admin_api.rst |
Admin APIs
This directory includes documentation for the various synapse specific admin APIs available.
Only users that are server admins can use these APIs. A user can be marked as a server admin by updating the database directly, e.g.:
UPDATE users SET admin = 1 WHERE name = '@foo:bar.com'
Restarting may be required for the changes to register.