Account

Last Login Time

Information about the account's last login time.

get/iam/activity_log/logins

Request

  • Base URL
    https://api.gcore.com
  • URL
    https://api.gcore.com/iam/activity_log/logins
  • Auth
    HTTP apikey

Query parameters

limitinteger

The maximum number of items.

offsetinteger

Offset relative to the beginning of list.

Response

OK.

countnumber required

Total number of users

nextstring

URL to the next users slice

previousstring

URL to the previous users slice

Example response

{
  "next": "/activity_log/logins?offset=20&limit=10",
  "previous": "/activity_log/logins?offset=10&limit=10",
  "result": [
    {
      "id": 123456,
      "login_at": "2024-11-13T15:23:30Z",
      "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
    }
  ]
}

Changes

No recorded changes to this operation across all 76 revisions of this API.