UserSession

  • email
    Type: stringFormat: email
    required

    User's email address

  • id
    Type: integer
    required

    User ID

  • token
    Type: string
    required

    JWT session token for authentication

  • accounts
    Type: array object[]

    List of accounts the user has access to

    • accountAdmin
      Type: boolean
    • accountId
      Type: string
    • accountName
      Type: string
    • usersPrimaryAccount
      Type: boolean
  • createdAt
    Type: stringFormat: date-time

    Creation timestamp

  • createdBy
    Type: string

    Email of the user who created this user

  • flatPermissionsList
    Type: array string[]

    List of user permissions

  • flatRolesList
    Type: array string[]

    List of user roles

  • primaryAccount
    Type: object
    • accountAdmin
      Type: boolean
    • accountId
      Type: string
    • accountName
      Type: string
    • usersPrimaryAccount
      Type: boolean
  • updatedAt
    Type: stringFormat: date-time

    Last update timestamp

  • updatedBy
    Type: string

    Email of the user who last updated this user