This endpoint starts the process of changing a user's password. An active user session is required for this endpoint. This process ends with an OTP (One-time password) being sent to the user's email address.
required | object |
required | object |
OK - The process of changing the user's password was started successfully
Bad Request - Wrong validators have been supplied with this request
Not Found - User was not found
{- "current_validators": {
- "password": "mysecurepassword123"
}, - "new_validators": {
- "password": "mysecurepassword123"
}
}