Get user status using userid and idstoreref
get
/oam/services/rest/access/api/v1/pswdmanagement/UserStatusRetriever/${userid}'
User status is retrieved for the input user. The userid is specified as path parameters in this API. The user needs to be present in the default identity store in OAM
Request
Path Parameters
-
userid(required): string
Input to uniquely identify user
Query Parameters
-
userdetails: string
userdetails object in query parameter
Response
Supported Media Types
- application/json
200 Response
The user status has been retrieved successfully
Root Schema : UserStatusChangeRequest
Type:
Show Source
object
-
enabled:
boolean
if user is enabled, set to true. If disabled, set as false
-
forcepwdchange:
boolean
if user is forced to change password in the next login, set to true. Else set to false.
-
unlocked:
boolean
if user is unlocked, set to true. If user is locked, set to false
-
username:
object userdetails
Nested Schema : userdetails
Type:
Show Source
object
-
dn:
string
the distinguished name of the user in the identity store
-
idstoreref:
string
idstore that the user belongs to
-
tenantname:
string
tenant name. Its always systemTenant
-
username:
string
the short name of the user
401 Response
Unauthorized
404 Response
Requested entity not found
500 Response
Internal Server Error