Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
780c94d7
Commit
780c94d7
authored
Sep 16, 2020
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-113' into 'master'
Define Active users See merge request gitlab-org/gitlab!32617
parents
637b1c3c
c68d00e6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
doc/api/users.md
doc/api/users.md
+3
-5
No files found.
doc/api/users.md
View file @
780c94d7
...
@@ -2,8 +2,6 @@
...
@@ -2,8 +2,6 @@
## List users
## List users
Active users = Total accounts - Blocked users
Get a list of users.
Get a list of users.
This function takes pagination parameters
`page`
and
`per_page`
to restrict the list of users.
This function takes pagination parameters
`page`
and
`per_page`
to restrict the list of users.
...
@@ -49,9 +47,9 @@ For example:
...
@@ -49,9 +47,9 @@ For example:
GET /users?username=jack_smith
GET /users?username=jack_smith
```
```
In addition, you can filter users based on
states eg.
`blocked`
,
`active`
In addition, you can filter users based on
the states
`blocked`
and
`active`
.
This works only to filter users who are
`blocked`
or
`active`
.
It does not support
`active=false`
or
`blocked=false`
. The list of active users
It does not support
`active=false`
or
`blocked=false`
.
is the total number of users minus the blocked users
.
```
plaintext
```
plaintext
GET /users?active=true
GET /users?active=true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment