post https://dev-api.c-one.ng/auth/password/update
This parameter enables a secure password update process. The user must provide their current and new password for verification before setting a new one.
Request Body
The request should include the following parameters:
Parameter | Type | Description |
---|---|---|
emailAddress | string | This parameter allows the user to request a new OTP to complete the verification or authentication process. |
newPassword | string | This parameter is used to set the new password for the user's account. The user must provide this new desired password to replace the current one. |
oldPassword | string | This parameter is used to provide the user's current or old password. To update the password successfully, the user must provide their current password as a security measure to confirm their identity. |