This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Filter admin endpoint to list users with locked status #16323
Labels
A-Admin-API
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Minor
Blocks non-critical functionality, workarounds exist.
T-Enhancement
New features, changes in functionality, improvements in performance, or user-facing enhancements.
Description:
As the current behavior of the list users admin endpoint
/_synapse/admin/v2/users?query_param=value
allows the requester to filter the returned users list with some user properties like?deactivated=boolean
to indicate whether to include deactivated users or not. It would be great to include the newly introduced user property locked as a filter to the list with?locked=boolean
.Expected behavior: when
locked=true
include locked users to the returned list, and vice versa.The text was updated successfully, but these errors were encountered: