retrieve User Recent Login
GET {{baseUrl}}/api/user/recent-login?offset=<string>&limit=<string>&userId=<string>
Retrieves the last number of login records. OR Retrieves the last number of login records for a user.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
offset | string | The initial record. e.g. 0 is the last login, 100 will be the 100th most recent login. | |
limit | string | (Optional, defaults to 10) The number of records to retrieve. | |
userId | string | The Id of the user. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"logins":[{"applicationName":"\u003cstring\u003e","location":{"city":"\u003cstring\u003e","country":"\u003cstring\u003e","latitude":"\u003cdouble\u003e","longitude":"\u003cdouble\u003e","region":"\u003cstring\u003e","zipcode":"\u003cstring\u003e","displayString":"\u003cstring\u003e"},"loginId":"\u003cstring\u003e"},{"applicationName":"\u003cstring\u003e","location":{"city":"\u003cstring\u003e","country":"\u003cstring\u003e","latitude":"\u003cdouble\u003e","longitude":"\u003cdouble\u003e","region":"\u003cstring\u003e","zipcode":"\u003cstring\u003e","displayString":"\u003cstring\u003e"},"loginId":"\u003cstring\u003e"}]}