Return the authenticated principal

Return the authenticated principal

Responses
  • 200 The authenticated principal
    identifier
    string required

    The identifier of the account

    accountType
    string required

    The type of account associated with this principal

    Enum local x509
    permissions
    array of objects | null (Permission)

    The list of permissions of the principal

    roles
    array of objects | null (Role)

    The principal's role

  • 401 Unauthorized request
  • 403 Forbidden action
  • 500 Internal Server error