Instance Admin

Get all login events.

Changed on

Enterprise feature

Returns all login events in the Unleash system. You can optionally get them in CSV format by specifying the Accept header as text/csv.

get/api/admin/logins

Request

  • Base URL
    https://app.unleash-instance.example.com
  • URL
    https://app.unleash-instance.example.com/api/admin/logins
  • Auth
    • API key in header Authorization
    • or HTTP bearer

Response

loginHistorySchema

Example response

{
  "events": [
    {
      "id": 13,
      "username": "admin",
      "auth_type": "simple",
      "type": "login",
      "created_at": "2023-03-01T12:04:26.061Z",
      "successful": true,
      "ip": "::ffff:127.0.0.1",
      "failure_reason": "No user found"
    }
  ]
}

Changes