Validate Password using userid
post
/oam/services/rest/access/api/v1/pswdmanagement/PasswordValidateRequests/${userid}
Passwords needs to conform to specific password policies for the given user.This API allows validation of password for a specific user. If password/challenges are valid 200 is returned. Else 400 with list of errors are returned. In this API, the userid is specified as a path parameter for all users belonging to default idstore.
Request
Path Parameters
-
userid: string
Input to uniquely identify user
Query Parameters
-
userdetails(optional): string
userdetails object in query parameter
The request object
Root Schema : ValidatePasswordRequest
Type:
Show Source
object
-
password:
string
password to be validated.
-
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
-
username:
string
the short name of the user
Response
Supported Media Types
- application/json
200 Response
Password is valid
400 Response
Password validation failed
401 Response
Unauthorized
404 Response
Requested entity not found
500 Response
Internal Server Error