MatrixSynapse/docs/admin_api
Joseph Weston 144cbfd650
add API documentation
Signed-off-by: Joseph Weston <joseph@weston.cloud>
2019-03-02 03:07:04 +01:00
..
README.rst
media_admin_api.md
purge_history_api.rst
purge_remote_media.rst
register_api.rst create support user (#4141) 2018-12-14 18:20:59 +00:00
user_admin_api.rst
version_api.rst add API documentation 2019-03-02 03:07:04 +01:00

README.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.