mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
1a7e6eb633
Admin API: Set adminship of a user |
||
---|---|---|
.. | ||
account_validity.rst | ||
delete_group.md | ||
media_admin_api.md | ||
purge_history_api.rst | ||
purge_remote_media.rst | ||
purge_room.md | ||
README.rst | ||
register_api.rst | ||
server_notices.md | ||
user_admin_api.rst | ||
version_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.