diff options
author | anoadragon453 <anoadragon453@users.noreply.github.com> | 2022-01-14 14:54:00 +0000 |
---|---|---|
committer | anoadragon453 <anoadragon453@users.noreply.github.com> | 2022-01-14 14:54:00 +0000 |
commit | e58a7087c62dfe1c95285298b25ff6cb9cd43961 (patch) | |
tree | 35b9e713dcb76ed88aa5342d6918b16f4680c169 /develop/admin_api | |
parent | deploy: 904bb044097a34ff37d06a92da4a1a39f2a9282b (diff) | |
download | synapse-e58a7087c62dfe1c95285298b25ff6cb9cd43961.tar.xz |
deploy: 18862f20b5495bdc556c54e92fd4b1efdc718ba7
Diffstat (limited to 'develop/admin_api')
-rw-r--r-- | develop/admin_api/user_admin_api.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/develop/admin_api/user_admin_api.html b/develop/admin_api/user_admin_api.html index ee311329a5..5e10a62d64 100644 --- a/develop/admin_api/user_admin_api.html +++ b/develop/admin_api/user_admin_api.html @@ -191,8 +191,9 @@ <p>To use it, you will need to authenticate by providing an <code>access_token</code> for a server admin: <a href="../usage/administration/admin_api">Admin API</a></p> <p>It returns a JSON body like the following:</p> -<pre><code class="language-json">{ - "displayname": "User", +<pre><code class="language-jsonc">{ + "name": "@user:example.com", + "displayname": "User", // can be null if not set "threepids": [ { "medium": "email", @@ -207,11 +208,11 @@ server admin: <a href="../usage/administration/admin_api">Admin API</a></p> "validated_at": 1586458409743 } ], - "avatar_url": "<avatar_url>", + "avatar_url": "<avatar_url>", // can be null if not set + "is_guest": 0, "admin": 0, "deactivated": 0, "shadow_banned": 0, - "password_hash": "$2b$12$p9B4GkqYdRTPGD", "creation_ts": 1560432506, "appservice_id": null, "consent_server_notice_sent": null, |