0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 16:33:51 +01:00
synapse/docs/admin_api
Richard van der Hoff 83333498a5 fix doc for purge_media_cache
purge_media_cache takes its arg from a query-param, not the POST body, for some
reason.
2017-01-20 12:15:50 +00:00
..
purge_history_api.rst Add some basic admin API docs 2016-07-28 14:56:09 +01:00
purge_remote_media.rst fix doc for purge_media_cache 2017-01-20 12:15:50 +00:00
README.rst Add some basic admin API docs 2016-07-28 14:56:09 +01:00

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.