synapse-old/docs/admin_api
Richard van der Hoff 8fd1a32456 Fix typos in purge api & doc
* It's supposed to be purge_local_events, not ..._history
* Fix the doc to have valid json
2018-02-13 13:09:39 +00:00
..
README.rst Add some basic admin API docs 2016-07-28 14:56:09 +01:00
media_admin_api.md Add admin api documentation for list media endpoint 2018-01-31 08:15:59 -07:00
purge_history_api.rst Fix typos in purge api & doc 2018-02-13 13:09:39 +00:00
purge_remote_media.rst fix doc for purge_media_cache 2017-01-20 12:15:50 +00:00
user_admin_api.rst Document some of the admin APIs (#2143) 2017-04-21 11:55:07 +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.