Allow filtering for admins in the list accounts admin API (#16114)

This commit is contained in:
Alexander Fechler
2023-08-18 13:26:38 +02:00
committed by GitHub
parent 6130afb862
commit 54317d34b7
5 changed files with 54 additions and 0 deletions

View File

@@ -219,6 +219,8 @@ The following parameters should be set in the URL:
**or** displaynames that contain this value.
- `guests` - string representing a bool - Is optional and if `false` will **exclude** guest users.
Defaults to `true` to include guest users.
- `admins` - Optional flag to filter admins. If `true`, only admins are queried. If `false`, admins are excluded from
the query. When the flag is absent (the default), **both** admins and non-admins are included in the search results.
- `deactivated` - string representing a bool - Is optional and if `true` will **include** deactivated users.
Defaults to `false` to exclude deactivated users.
- `limit` - string representing a positive integer - Is optional but is used for pagination,