This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
User Admin API: Ability to exclude user types #15720
Labels
A-Admin-API
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Minor
Blocks non-critical functionality, workarounds exist.
T-Enhancement
New features, changes in functionality, improvements in performance, or user-facing enhancements.
Story
As an admin I want to be able to exclude user types when fetching the user list from the admin API,
so that I can exclude bot or service users.
Proposal
Add a new query param
not_user_types
toGET /_synapse/admin/v2/users
: user type to exclude. Can be provided multiple times. Returns only users, that do not match any of them. "empty string" should be possible to exclude users without a type.The design is similar to https://spec.matrix.org/v1.7/client-server-api/#get_matrixclientv3useruseridfilterfilterid
The text was updated successfully, but these errors were encountered: