Authentication

Retrieves information about the currently logged-on user and their sessions

Includes information about the users data and sessions, organization entitlements and quotas.

get/account/me

Request

Response

Returns 'AuthInfo'

userIdinteger required

The user id of the authenticated user.

emailstring required

The email address of the authenticated user.

firstNamestring

The first name of the authenticated user.

lastNamestring

The last name of the authenticated user.

authTypestring required

The authentication method configured for the current user.

tokenExpiresAtstring date-time required

The expiry timestamp of the current token.

tenantFeaturesstring[]

A list of features enabled for this tenant

Example response

{
  "authType": "LOCAL_PASSWORD",
  "tokenExpiresAt": "ISO8601 UTC datetime",
  "sessions": [
    {
      "loginAt": "ISO8601 UTC datetime"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.