From 581e3ed50edd690e955aaac128bad7c2f5fd985d Mon Sep 17 00:00:00 2001 From: erikjohnston Date: Tue, 2 Jan 2024 11:54:17 +0000 Subject: deploy: 14ed84ac333a7dd7223793bab53fd115ea24a149 --- develop/admin_api/user_admin_api.html | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'develop/admin_api/user_admin_api.html') diff --git a/develop/admin_api/user_admin_api.html b/develop/admin_api/user_admin_api.html index 5c0bde949e..8cf6850bc0 100644 --- a/develop/admin_api/user_admin_api.html +++ b/develop/admin_api/user_admin_api.html @@ -311,11 +311,12 @@ granting them access to the Admin API, among other things.

  • deactivated - bool, optional. If unspecified, deactivation state will be left unchanged.

    -

    Note: the password field must also be set if both of the following are true:

    +

    Note:

    Note: a user cannot be erased with this API. For more details on @@ -388,7 +389,7 @@ that contain this value. This parameter is ignored when using the nametrue to include guest users. This parameter is not supported when MSC3861 is enabled. See #15582

  • -

    admins - Optional flag to filter admins. If true, only admins are queried. If false, admins are excluded from +

    admins - Optional flag to filter admins. If true, only admins are queried. If false, admins are excluded from the query. When the flag is absent (the default), both admins and non-admins are included in the search results.

  • @@ -451,7 +452,7 @@ User objects contain the following fields:

  • is_guest - bool - Status if that user is a guest account.
  • admin - bool - Status if that user is a server administrator.
  • user_type - string - Type of the user. Normal users are type None. -This allows user type specific behaviour. There are also types support and bot.
  • +This allows user type specific behaviour. There are also types support and bot.
  • deactivated - bool - Status if that user has been marked as deactivated.
  • erased - bool - Status if that user has been marked as erased.
  • shadow_banned - bool - Status if that user has been marked as shadow banned.
  • @@ -959,7 +960,7 @@ devices was last seen. (May be a few minutes out of date, for efficiency reasons

    Create a device

    -

    Creates a new device for a specific user_id and device_id. Does nothing if the device_id +

    Creates a new device for a specific user_id and device_id. Does nothing if the device_id exists already.

    The API is:

    POST /_synapse/admin/v2/users/<user_id>/devices
    @@ -1261,10 +1262,10 @@ being limited.
     be local.
     
     

    Check username availability

    -

    Checks to see if a username is available, and valid, for the server. See the client-server +

    Checks to see if a username is available, and valid, for the server. See the client-server API for more information.

    -

    This endpoint will work even if registration is disabled on the server, unlike +

    This endpoint will work even if registration is disabled on the server, unlike /_matrix/client/r0/register/available.

    The API is:

    GET /_synapse/admin/v1/username_available?username=$localpart
    -- 
    cgit 1.5.1