From 6a9640330ef55fd7af225fc5f3e3e25f80a5bf49 Mon Sep 17 00:00:00 2001 From: anoadragon453 Date: Mon, 11 Mar 2024 16:10:31 +0000 Subject: deploy: 48f59d3806477d575350fa4dc093e02cf0eca901 --- develop/admin_api/user_admin_api.html | 11 +++++++++++ 1 file changed, 11 insertions(+) (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 8cf6850bc0..34ba483c4b 100644 --- a/develop/admin_api/user_admin_api.html +++ b/develop/admin_api/user_admin_api.html @@ -332,6 +332,7 @@ Other allowed options are: bot and support.

List Accounts

+

List Accounts (V2)

This API returns all local user accounts. By default, the response is ordered by ascending user ID.

GET /_synapse/admin/v2/users?from=0&limit=10&guests=false
@@ -471,6 +472,16 @@ This allows user type specific behaviour. There are also types support
 
 

Added in Synapse 1.93: the locked query parameter and response field.

+

List Accounts (V3)

+

This API returns all local user accounts (see v2). In contrast to v2, the query parameter deactivated is handled differently.

+
GET /_synapse/admin/v3/users
+
+

Parameters

+
    +
  • deactivated - Optional flag to filter deactivated users. If true, only deactivated users are returned. +If false, deactivated users are excluded from the query. When the flag is absent (the default), +users are not filtered by deactivation status.
  • +

Query current sessions for a user

This API returns information about the active sessions for a specific user.

The endpoints are:

-- cgit 1.5.1