Retrieve a principal information

Retrieve the security information of an existing principal based on its identifier

Path parameters
identifier
string required

The identifier of the principal to retrieve information of

Responses
  • 200 The principal information
    _id
    string required

    The MongoDB ObjectID of the principal

    identifier
    string required

    The identifier of the principal

    creationDate
    integer required

    The creation date of the principal (UNIX Timestamp in milliseconds)

    lastModification
    integer required

    The last modification date of the principal (UNIX Timestamp in milliseconds)

    enabled
    boolean required

    If the principal is allowed to login horizon

    contact
    string | null

    The contact e-mail of the principal

    permissions
    array of objects | null (Permission)

    The permissions of the principal

    roles
    array of string | null

    The roles of the principal

    teams
    array of string | null

    The teams of the principal

    savedQueries
    array of objects | null (Principal queries)

    The saved HQL queries of the principal. This is used by UI only. These values should not be manually set but should be copied on update

    customDashboards
    array of objects | null (Dashboard)

    The custom dashboards of the principal. This is used by UI only. These values should not be manually set but should be copied on update

    preferences
    object | null (Principal Preferences)

    The UI preferences of the principal. This is used by UI only. These values should not be manually set but should be copied on update

    lastAuthentication
    integer | null

    The last authentication date of the principal (UNIX Timestamp in milliseconds)

  • 401 Authentication error
  • 403 Forbidden action
  • 404 Principal Info not found
  • 500 Unexpected internal server error