PasswordReset using current password and userid
post
/oam/services/rest/access/api/v1/pswdmanagement/PasswordResetRequests/${userid}
An admin authenticated web application can update the user password by using the current
and the new password provided to update the password to a new value. The user details can be
given as path parameter. This variation of the API is used for users belonging
to default idstore in OAM.
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 : PasswordResetRequest
Type:
Show Source
object
-
newpassword:
string
Password to be set
-
originalpassword:
string
User password
-
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 reset response
401 Response
Unauthorized
404 Response
Requested entity not found
500 Response
Internal Server Error