(deprecated) Get the user profile of the principal issuing the requestDeprecated

Deprecated in favor of the new endpoint.

Retrieves the user profile of the principal issuing the request. If a principal doesn't have a user profile, you get a not found (404) response code. Note: User profiles are created asyncronously, so the endpoint might return 404 for a new principal for a while (usually seconds) until the profile has been created.

Securityoidc-token or oauth2-client-credentials or oauth2-open-industrial-data or oauth2-auth-code
Responses
200
404

The user profile for the requesting principal was not found.

get/profiles/me
Request samples
const response = await client.profiles.me();
Response samples
application/json
{
  • "userIdentifier": "abcd",
  • "givenName": "Jane",
  • "surname": "Doe",
  • "email": "jane.doe@example.com",
  • "displayName": "Jane Doe",
  • "jobTitle": "Software Engineer",
  • "identityType": "USER",
  • "lastUpdatedTime": 1730204346000
}