POST
/v1/mgmt/user/history

Get an user's login history, using a valid management key.

This API endpoint will loads the user's login history based on the user's userId.

See also

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:ManagementKey\>

Try it

/v1/mgmt/user/history

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

body
Required
string

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/mgmt/user/history" \
  -d 'string'

{
  "usersAuthHistory": [
    {
      "userId": "string",
      "loginTime": 0,
      "city": "string",
      "country": "string",
      "ip": "string"
    }
  ]
}

Was this helpful?