• When a user is first created or if the password is forgotten. A user can request a password reset from thier Organization administrator. The administrator will end up calling this function in order to initiate the request and have reset token sent to the user on thier specified e-mail address (or other method.) The token, received by the user, can be used as part of the reset call to provide a new password.

    Parameters

    • userId: string

      the user ID of the suer to start the password reset process.

    • url: string = ...

      the url to send the login request to.

    • destinationAddress: string = "server"

    Returns Promise<null | KosServiceResponse<unknown>>

    an API response with no value.

    Default Value

    - defaults to the Admin server URL.
    

    See

    resetPassword