Validate Password using userid and idstoreref
post
/oam/services/rest/access/api/v1/pswdmanagement/PasswordValidateRequests/${userid}/${idstoreref}
Passwords needs to conform to specific password policy for the given user.This API allows validation of password for a specific user. If password is valid 200 is returned. Else 400 with list of errors are returned. In this API, the userid and
idstore that the user belongs to are specified as path parameters.
Request
Path Parameters
-
idstoreref: string
idstore that the user belongs to
-
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