From 7c5dd6ffb85f208632f7a2018a922b5ef2083c18 Mon Sep 17 00:00:00 2001 From: anoadragon453 Date: Tue, 22 Mar 2022 16:30:53 +0000 Subject: deploy: 6b26536a52f77aa5573b4d2afedae448fac31b7c --- latest/usage/administration/admin_api/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'latest/usage/administration/admin_api/index.html') diff --git a/latest/usage/administration/admin_api/index.html b/latest/usage/administration/admin_api/index.html index aa87ac5b3b..b707d07549 100644 --- a/latest/usage/administration/admin_api/index.html +++ b/latest/usage/administration/admin_api/index.html @@ -99,7 +99,7 @@ @@ -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