Get all users.

get

/learn.rest/v1/users

Request

Query Parameters
  • Specify how many items should be returned in a payload. Must be lower than server default limit size.
  • Specify starting point of the response.
    Default Value: 0
  • Search through users collection items. Use Mongo DB Query format. Searchable properties are - username, email, employeeId. example ?q={email:{$eq: 'user@example.com'}}
  • If set to true, the payload includes the total number of rows that satisfies the request. Use of this parameter determines if the 'last' link is displayed for a pageable collection.
Security
Back to Top

Response

Supported Media Types

200 Response

Users collection fetched.
Body ()
Root Schema : UsersResponse
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : User
Type: object
Show Source
Nested Schema : lastUpdatedByUser
Type: array
Show Source

401 Response

Authentication refused for provided credentials or token invalid.
Headers

500 Response

Internal server error.
Back to Top