Return the authenticated principal

Return the authenticated principal:

  • The principal identity (identifier, name, email and identity provider);
  • The direct permissions;
  • The roles the principal is a member of.

If not authenticated, a NoContent is returned.

Responses
  • 200 The authenticated principal
    identity
    object (Identity) required

    The principal's identity

    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

    preferences
    object | null (Principal Preferences)

    The UI preferences of the principal

    customDashboards
    array of objects | null (Dashboard)

    The custom dashboards of the principal

  • 204 Anonymous access (no authentication)
  • 401 Authentication error
  • 403 Forbidden action
  • 500 Unexpected internal server error