Reset SMS factor not resetting forgot password mobile

Hi,

I have implemented custom functionality with OKTA API to allow the user to reset their SMS factor,

The following OKTA API is used for this implementation : /api/v1/users/${userId}/factors/${factorId}

The users are able to reset their SMS factor, however, when they log in next time they are able to use previously registered mobile number to perform forgot password operation.

I would like to know the following thing :

  1. Why is the Reset factor API not resetting theirs forgot password recovery number?
  2. Is there any other API available to reset forgot password recovery number?

Thanks,
ashutosh