From 74b65bfc5f3c58005e3892b314e73cfde32355f6 Mon Sep 17 00:00:00 2001 From: erikjohnston Date: Tue, 2 Nov 2021 14:27:50 +0000 Subject: deploy: 2d44ee6868805d4ff23489a8dd6b4072ff358663 --- latest/admin_api/user_admin_api.html | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'latest/admin_api/user_admin_api.html') diff --git a/latest/admin_api/user_admin_api.html b/latest/admin_api/user_admin_api.html index 65b9cfe00e..02c27d25d2 100644 --- a/latest/admin_api/user_admin_api.html +++ b/latest/admin_api/user_admin_api.html @@ -99,7 +99,7 @@ @@ -225,7 +225,8 @@ server admin: Admin API

"auth_provider": "<provider2>", "external_id": "<user_id_provider_2>" } - ] + ], + "user_type": null }

URL parameters:

@@ -264,7 +265,8 @@ specific user_id.

], "avatar_url": "<avatar_url>", "admin": false, - "deactivated": false + "deactivated": false, + "user_type": null }

To use it, you will need to authenticate by providing an access_token for a @@ -307,6 +309,9 @@ in homeserver configuration. unchanged on existing accounts and set to false for new accounts. A user cannot be erased by deactivating with this API. For details on deactivating users see Deactivate Account. +

  • user_type - string or null, optional. If provided, the user type will be +adjusted. If null given, the user type will be cleared. Other +allowed options are: bot and support.
  • If the user already exists then optional parameters default to the current value.

    In order to re-activate an account deactivated must be set to false. If @@ -494,6 +499,7 @@ An empty body may be passed for backwards compatibility.

  • Remove all 3PIDs from the homeserver
  • Delete all devices and E2EE keys
  • Delete all access tokens
  • +
  • Delete all pushers
  • Delete the password hash
  • Removal from all rooms the user is a member of
  • Remove the user from the user directory
  • @@ -507,6 +513,16 @@ is set to true:

  • Remove the user's avatar URL
  • Mark the user as erased
  • +

    The following actions are NOT performed. The list may be incomplete.

    +

    Reset password

    Changes the password of another user. This will automatically log the user out of all their devices.

    The api is:

    -- cgit 1.5.1