Zum Hauptinhalt springen
GET
/
user
/
login-activities
cURL
curl -X GET \
 /user/login-activities \
 --header "Authorization: Bearer <token>"
{
  "data": [
    {
      "id": "A1B2C3D4E5F6G7H8I9J0",
      "ipAddress": "127.0.0.1",
      "os": "Windows 10",
      "client": "Chrome 114.0.0",
      "loginAt": "2021-01-01T00:00:00+00:00"
    }
  ],
  "meta": {
    "pagination": {
      "totalItems": 123,
      "itemsPerPage": 123,
      "currentPage": 123,
      "lastPage": 123,
      "pageTotalItems": 123
    }
  }
}

Autorisierungen

Authorization
string
header
erforderlich

Value for the Authorization header parameter.

Abfrageparameter

page
integer
Standard:1

The collection page number

limit
integer
Standard:30

The number of items per page

Erforderlicher Bereich: 0 <= x <= 100
order[loginAt]
enum<string>
Verfügbare Optionen:
asc,
desc

Antwort

LoginActivity collection

data
object[]
meta
object