From e58a7087c62dfe1c95285298b25ff6cb9cd43961 Mon Sep 17 00:00:00 2001 From: anoadragon453 Date: Fri, 14 Jan 2022 14:54:00 +0000 Subject: deploy: 18862f20b5495bdc556c54e92fd4b1efdc718ba7 --- develop/admin_api/user_admin_api.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'develop/admin_api') 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 @@

To use it, you will need to authenticate by providing an access_token for a server admin: Admin API

It returns a JSON body like the following:

-
{
-    "displayname": "User",
+
{
+    "name": "@user:example.com",
+    "displayname": "User", // can be null if not set
     "threepids": [
         {
             "medium": "email",
@@ -207,11 +208,11 @@ server admin: Admin API

"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, -- cgit 1.5.1