Skip to main content
GET
/
v1
/
users
/
{id}
Retrieve User details
curl --request GET \
  --url https://identity.sandbox.lerian.net/v1/users/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "firstName": "John",
  "lastName": "Doe",
  "email": "[email protected]",
  "username": "johndoe",
  "groups": [
    "admin-group",
    "midaz-viewer-group"
  ]
}

Authorizations

Authorization
string
header
required

The authorization token in the 'Bearer ' format.

Path Parameters

id
string
required

The unique identifier of the user you want to retrieve.

Response

Detailed information about a specific user.

The identity details for a user, including basic info and groups.

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.