Skip to main content
GET
/
v1
/
users
List Users
curl --request GET \
  --url https://identity.sandbox.lerian.net/v1/users \
  --header 'Authorization: Bearer <token>'
[
  {
    "email": "john@example.com",
    "firstName": "John",
    "groups": [
      "admin-group",
      "midaz-viewer-group",
      "midaz-contributor-group"
    ],
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "lastName": "Doe",
    "username": "johndoe"
  },
  {
    "email": "janedoe@example.com",
    "firstName": "Jane",
    "groups": [
      "midaz-viewer-group"
    ],
    "id": "999e5789-e89b-12d3-b456-123456789000",
    "lastName": "Doe",
    "username": "janedoe"
  }
]

Authorizations

Authorization
string
header
required

The authorization token in the 'Bearer <token>' format.

Response

The list of all users registered in the system.

email
string

User’s email address.

firstName
string

User’s first name.

groups
string[]

List of groups the user belongs to.

id
string

Unique identifier of the user.

lastName
string

User’s last name.

username
string

Unique username.