Skip to main content
GET
/
user
/
{id}
/
profile
Get Profile
curl --request GET \
  --url http://{host}:{port}/{contextPath}/user/{id}/profile \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "jonny1",
  "firstName": "John",
  "lastName": "Doe",
  "email": "anEmailAddress"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The id of the user to retrieve.

Response

Request successful.

id
string | null

The id of the user.

firstName
string | null

The first name of the user.

lastName
string | null

The first name of the user.

email
string | null

The email of the user.