cancel
Showing results for 
Search instead for 
Did you mean: 

REST API Request Reset Password

REST API Request Reset Password

The Magento 2 CE REST API offers an endpoint to request a reset password email for a given email.

 

The endpoint is available here: PUT /V1/customers/password

 

As documented here, this endpoint expects as the input the following required properties:

- email: string

- template: string

 

I would like to know what this template property refers to and how can I know which templates are available to be specified in this request parameter.

 

Thank you in advance.

1 REPLY 1

Re: REST API Request Reset Password

hello my name is Saul Catagua 

 

the parameter is 

email_reset

 

example 

 

{
"email": "saulcfa@gmail.com",
"template": "email_reset",
"websiteId": 1
}