Gets inactive users
GET/api/admin/user-admin/inactive
Gets all inactive users. An inactive user is a user that has not logged in in the last 180 days
Responses
- 200
inactiveUsersSchema
- application/json
- Schema
- Example (from schema)
Schema
- Array [ 
- ] 
version integerrequired
The version of this schema. Used to keep track of compatibility
Possible values: >= 1
Example: 
1inactiveUsers
object[]
required
The list of users that are flagged as inactive
id integerrequired
The user id
Example: 
123name stringnullable
Name of the user
Example: 
Ned Ryersonemail string
Email of the user
Example: 
user@example.comusername stringnullable
A unique username for the user
Example: 
nedryersonseenAt date-timenullable
The last time this user logged in
Example: 
2024-01-25T11:42:00.345ZcreatedAt date-time
The user was created at this time
Example: 
2023-12-31T23:59:59.999ZpatSeenAt date-timenullable
The last time this user's PAT token (if any) was used
Example: 
2024-01-01T23:59:59.999Z{
  "version": 1,
  "inactiveUsers": [
    {
      "id": 123,
      "name": "Ned Ryerson",
      "email": "user@example.com",
      "username": "nedryerson",
      "seenAt": "2024-01-25T11:42:00.345Z",
      "createdAt": "2023-12-31T23:59:59.999Z",
      "patSeenAt": "2024-01-01T23:59:59.999Z"
    }
  ]
}
Loading...