GET
/
iam
/
activity_log
/
logins
curl --request GET \
  --url https://api.gcore.com/iam/activity_log/logins \
  --header 'APIKey: <api-key>'
{
  "count": 123,
  "next": "/activity_log/logins?offset=20&limit=10",
  "previous": "/activity_log/logins?offset=10&limit=10",
  "result": [
    {
      "id": 123456,
      "login_at": "2024-11-13 15:23:30+00:00",
      "ip_address": "192.168.1.1",
      "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.88 Safari/537.36",
      "is_successful": true,
      "auth_type": "OAUTH",
      "user": 123456
    }
  ]
}

Authorizations

APIKey
string
header
required

API key for authentication.

Query Parameters

limit
integer

The maximum number of items.

offset
integer

Offset relative to the beginning of list.

Response

200
application/json

OK.

The response is of type object.