Commit 780c94d7 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'patch-113' into 'master'

Define Active users

See merge request gitlab-org/gitlab!32617
parents 637b1c3c c68d00e6
......@@ -2,8 +2,6 @@
## List users
Active users = Total accounts - Blocked users
Get a list of users.
This function takes pagination parameters `page` and `per_page` to restrict the list of users.
......@@ -49,9 +47,9 @@ For example:
GET /users?username=jack_smith
```
In addition, you can filter users based on states eg. `blocked`, `active`
This works only to filter users who are `blocked` or `active`.
It does not support `active=false` or `blocked=false`.
In addition, you can filter users based on the states `blocked` and `active`.
It does not support `active=false` or `blocked=false`. The list of active users
is the total number of users minus the blocked users.
```plaintext
GET /users?active=true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment