element-hq / element-hq/synapse

User Admin API: Ability to exclude users from user list matching glob(s)

Open
#11,609 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.