PasswordReset using current password and userid and idstoreref
post
/oam/services/rest/access/api/v1/pswdmanagement/PasswordResetRequests/${userid}/${idstoreref}
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. Both the userid and the idstoreref needs to be specified in this case.
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 path parameter takes precedence over query parameter. The query parameter takes the input of the form systemTenant::UserDN::IDSTOREREF::UserID. For example, userdetails=systemTenant::cn=normal,ou=users,dc=ngam,dc=oracle,dc=com::oud::normal.
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