POST
/v2/mgmt/user/history

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

Request Body

application/json

userIds?array<string>
string

Load users auth history, by users id

curl -X POST "https://api.descope.com/v2/mgmt/user/history" \  -H "Content-Type: application/json" \  -d '{}'
{  "usersAuthHistory": [    {      "userId": "string",      "loginTime": 0,      "city": "string",      "country": "string",      "ip": "string",      "selectedTenant": "string"    }  ]}
export interface Response {usersAuthHistory?: UserAuthHistory[]}export interface UserAuthHistory {userId?: stringloginTime?: numbercity?: stringcountry?: stringip?: stringselectedTenant?: string}
Was this helpful?