summary refs log tree commit diff
path: root/docs/admin_api/README.rst
blob: d4f564cfaecbadf5b6e0aadd215c1e5ae77674fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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.