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
c68d00e6
Commit
c68d00e6
authored
Sep 16, 2020
by
Ben Bodenmiller
Committed by
Achilleas Pipinellis
Sep 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define Active users
parent
b1070678
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 @
c68d00e6
...
@@ -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