From 651483ded1518ba40bcd25f31e59773fb147e398 Mon Sep 17 00:00:00 2001 From: reivilibre Date: Tue, 19 Mar 2024 14:20:26 +0000 Subject: deploy: 0b4dc4de7cd92180074ccf32ed4a53b7fa330aad --- latest/admin_api/user_admin_api.html | 11 +++++++++++ 1 file changed, 11 insertions(+) (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 8cf6850bc0..34ba483c4b 100644 --- a/latest/admin_api/user_admin_api.html +++ b/latest/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