Home > @vsf-enterprise/sap-commerce-webservices-sdk > ForgottenPasswordsApi > doRestorePassword

ForgottenPasswordsApi.doRestorePassword() method

Generates a token to restore a customer's forgotten password. Generates a token to restore a customer's forgotten password.

Signature:

doRestorePassword(baseSiteId: string, userId: string, options?: any): Promise<import("axios").AxiosResponse<void>>;

Parameters

Parameter Type Description
baseSiteId string Base site identifier
userId string Customer&#39;s user id. Customer user id is case insensitive.
options any Override http request option.

Returns:

Promise<import("axios").AxiosResponse<void>>

Exceptions

{RequiredError} ForgottenPasswordsApi