Search users according filter conditions
Changed onRequest
- Base URLhttps://demo.gitea.com/api/v1
- Auth
- HTTP basic
- or API key in query parameter token
- or API key in query parameter access_token
- or API key in header Authorization
- or API key in query parameter sudo
- or API key in header Sudo
- or API key in header X-GITEA-OTP
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
ID of the user's login source to search for, 0 means the local users
identifier of the user, provided by the external authenticator
page number of results to return (1-based)
page size of results
sort users by attribute. Supported values are "name", "created", "updated" and "id". Default is "name"
sort order, either "asc" (ascending) or "desc" (descending). Default is "asc", ignored if "sort" is not specified.
search term (username, full name, email)
visibility filter. Supported values are "public", "limited" and "private".
filter active users
filter admin users
filter restricted users
filter 2FA enabled users
filter login prohibited users
Response
UserList
Changes
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
- info
added the new optional
queryrequest parameteris_2fa_enabled - info
added the new optional
queryrequest parameteris_active - info
added the new optional
queryrequest parameteris_admin - info
added the new optional
queryrequest parameteris_prohibit_login - info
added the new optional
queryrequest parameteris_restricted - info
added the new optional
queryrequest parameterorder - info
added the new optional
queryrequest parameterq - info
added the new optional
queryrequest parametersort - info
added the new optional
queryrequest parametervisibility - info
added the non-success response with the status
- info