Home > @vsf-enterprise/epcc-api > CustomerEndpoints > resetPassword

# CustomerEndpoints.resetPassword() method

Generates a link that can be used to reset the customer's password.

Signature:

resetPassword(context: ElasticPathIntegrationContext, params: ResetPasswordParams): Promise<ResetPasswordResponse | void>;

# Parameters

Parameter Type Description
context ElasticPathIntegrationContext An auto-generated value prepended to the method as a first parameter.
params ResetPasswordParams An object which contains the email address of the customer.

Returns:

Promise<ResetPasswordResponse | void>