From d7c44939ffa83b6b19382f6c532f82fa36aa8e44 Mon Sep 17 00:00:00 2001 From: DMRobertson Date: Wed, 2 Mar 2022 13:00:49 +0000 Subject: deploy: f3f0ab10fe766c766dedf9d80e4ef198e3e45c09 --- develop/usage/administration/admin_api/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'develop/usage') diff --git a/develop/usage/administration/admin_api/index.html b/develop/usage/administration/admin_api/index.html index aa87ac5b3b..eb1a302e00 100644 --- a/develop/usage/administration/admin_api/index.html +++ b/develop/usage/administration/admin_api/index.html @@ -190,7 +190,7 @@ server admin. (Note that a server admin is distinct from a room admin.)

UPDATE users SET admin = 1 WHERE name = '@foo:bar.com';
 

A new server admin user can also be created using the register_new_matrix_user -command. This is a script that is located in the scripts/ directory, or possibly +command. This is a script that is distributed as part of synapse. It is possibly already on your $PATH depending on how Synapse was installed.

Finding your user's access_token is client-dependent, but will usually be shown in the client's settings.

Making an Admin API request

-- cgit 1.5.1