List all users
Lists all users on the instance. This endpoint supports keyset pagination. In GitLab 17.0 and later, keyset pagination is used by default.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “ Query Parameters ”Get a single user with a specific username
Get a single user with a specific external authentication provider UID
Get a single user with a specific public email
The external provider
Search for a username
Filters only active users
Filters only human users
Filters only external users
Filters only blocked users
Return users created after the specified time
Return users created before the specified time
Filters only users without projects
Filters users without project bots
Filters only admin users
Filter users by Two-factor authentication.
Filters only non active users
Filters only non external users
Filters only non human users
Filters only non internal users
Return users ordered by a field
Return users sorted in ascending and descending order
Current page number
Example
1Number of items per page
Example
20Include custom attributes in the response
Filter with custom attributes
object
Skip LDAP users
Filters only auditor users
Responses
Section titled “ Responses ”OK
object
object
Example
{ "id": 1, "username": "admin", "public_email": "john@example.com", "name": "Administrator", "state": "active", "avatar_url": "https://gravatar.com/avatar/1", "avatar_path": "/user/avatar/28/The-Big-Lebowski-400-400.png", "custom_attributes": [ { "key": "foo", "value": "bar" } ], "web_url": "https://gitlab.example.com/root"}Bad Request