Idle account identification API
Base URL: https://api.asgardeo.io/t/<ROOT_ORGANIZATION_NAME>/o/api/idle-account-identification/v1
The WSO2 Identity Platform - Idle Account Identification Rest API (version v1).
Download the OpenAPI definition (YAML)
Security schemes
OAuth2: oauth2
Authorization code OAuth flow + Organization Switch
Scopes:
internal_org_user_mgt_list: Grant permissions to read user records.
Get inactive users
GET /inactive-users
GET /inactive-users
Get inactive users after a specified date.
Scope required: internal_org_user_mgt_list
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
inactiveAfter | query | string | Yes | Users without login activity after this date are considered inactive. |
excludeBefore | query | string | Users whose last login activity is before the specified date will be excluded from the list of inactive users included in the response. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Inactive users returned successfully. | InactiveUsersList |
400 | Invalid Input Request. | Error |
401 | Unauthorized | Unauthorized |
403 | Resource Forbidden | |
500 | Internal Server Error | Error |
Schemas
Error
Type: object
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
code | string | Yes | |
message | string | Yes | |
description | string |
Unauthorized
Type: object
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
code | string | Yes | |
message | string | Yes | |
description | string |
InactiveUsersList
Type: array of InactiveUser
InactiveUser
Type: object
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
userId | string | ||
username | string | Yes | |
userStoreDomain | string |
Was this page helpful?