mirror of
https://github.com/element-hq/synapse
synced 2024-08-30 01:50:20 +00:00
This endpoint isn't much use for its intended purpose if you first need to get yourself an admin's auth token. I've restricted it to the `/_synapse/admin` path to make it a bit easier to lock down for those concerned about exposing this information. I don't imagine anyone is using it in anger currently. |
||
---|---|---|
.. | ||
account_validity.rst | ||
delete_group.md | ||
media_admin_api.md | ||
purge_history_api.rst | ||
purge_remote_media.rst | ||
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.