element-hq / element-hq/synapse
User Admin API: Ability to exclude users from user list matching glob(s)
Open
A-Admin-API
A-Performance
T-Enhancement
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#11609](https://github.com/matrix-org/synapse/issues/11609).
---
For instance, we want to list all users on the homeserver which aren't matching certain criteria (like users not containing `whatsapp` or `signal`). We'd like to do this on the homeserver side to avoid huge load/memory consuption on both Synapse and the processing process since we have many more users that need to be excluded than included.
I'd imagine something like:
`https://host/_synapse/admin/v2/users?not_user_id=whatsapp¬_user_id=signal`
Contributor guide
Assessment
This issue has not been assessed yet.