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.
The user profile for the requesting principal was not found.
const response = await client.profiles.me();
{- "userIdentifier": "abcd",
- "givenName": "Jane",
- "surname": "Doe",
- "email": "jane.doe@example.com",
- "displayName": "Jane Doe",
- "jobTitle": "Software Engineer",
- "identityType": "USER",
- "lastUpdatedTime": 1730204346000
}