diff options
author | anoadragon453 <anoadragon453@users.noreply.github.com> | 2024-03-11 16:10:31 +0000 |
---|---|---|
committer | anoadragon453 <anoadragon453@users.noreply.github.com> | 2024-03-11 16:10:31 +0000 |
commit | 6a9640330ef55fd7af225fc5f3e3e25f80a5bf49 (patch) | |
tree | 30af2eff7bb598992ee80245bb3d4fb125e014c1 /develop/print.html | |
parent | deploy: 4af33015af280b4716e812e47d5631fcac088128 (diff) | |
download | synapse-6a9640330ef55fd7af225fc5f3e3e25f80a5bf49.tar.xz |
deploy: 48f59d3806477d575350fa4dc093e02cf0eca901
Diffstat (limited to 'develop/print.html')
-rw-r--r-- | develop/print.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/develop/print.html b/develop/print.html index 8096fe41f4..d436428a47 100644 --- a/develop/print.html +++ b/develop/print.html @@ -14340,6 +14340,7 @@ Other allowed options are: <code>bot</code> and <code>support</code>.</p> </li> </ul> <h2 id="list-accounts"><a class="header" href="#list-accounts">List Accounts</a></h2> +<h3 id="list-accounts-v2"><a class="header" href="#list-accounts-v2">List Accounts (V2)</a></h3> <p>This API returns all local user accounts. By default, the response is ordered by ascending user ID.</p> <pre><code>GET /_synapse/admin/v2/users?from=0&limit=10&guests=false @@ -14479,6 +14480,16 @@ This allows user type specific behaviour. There are also types <code>support</co </li> </ul> <p><em>Added in Synapse 1.93:</em> the <code>locked</code> query parameter and response field.</p> +<h3 id="list-accounts-v3"><a class="header" href="#list-accounts-v3">List Accounts (V3)</a></h3> +<p>This API returns all local user accounts (see v2). In contrast to v2, the query parameter <code>deactivated</code> is handled differently.</p> +<pre><code>GET /_synapse/admin/v3/users +</code></pre> +<p><strong>Parameters</strong></p> +<ul> +<li><code>deactivated</code> - Optional flag to filter deactivated users. If <code>true</code>, only deactivated users are returned. +If <code>false</code>, deactivated users are excluded from the query. When the flag is absent (the default), +users are not filtered by deactivation status.</li> +</ul> <h2 id="query-current-sessions-for-a-user"><a class="header" href="#query-current-sessions-for-a-user">Query current sessions for a user</a></h2> <p>This API returns information about the active sessions for a specific user.</p> <p>The endpoints are:</p> |