Skip to main content
Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

Idle account identification API

Download OpenAPI (YAML)Version v1

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

NameInTypeRequiredDescription
inactiveAfterquerystringYes

Users without login activity after this date are considered inactive.

excludeBeforequerystring

Users whose last login activity is before the specified date will be excluded from the list of inactive users included in the response.

Responses

CodeDescriptionSchema
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
NameTypeRequiredDescription
codestringYes
messagestringYes
descriptionstring

Unauthorized​

Type: object

3 properties
NameTypeRequiredDescription
codestringYes
messagestringYes
descriptionstring

InactiveUsersList​

Type: array of InactiveUser

InactiveUser​

Type: object

3 properties
NameTypeRequiredDescription
userIdstring
usernamestringYes
userStoreDomainstring

Was this page helpful?