Skip to main content

Recover an account

Using this endpoint the user will receive an email with the link to reset his password. The link contains a validation_code which can be used in the next call to reset the password.

eg: http://[...]/account/recover/password?validation_code=d73832396a1b0c2511cf166147a3e2440a&next=/

info

This operation does not require authentication.

HTTP Request

POST /api/v2/account/recover/

Parameters

NameInTypeRequiredDescription
emailbodystringtrueThe email of the user of whom we have to recover password.

Example Request

const inputBody = '{
"email": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};

fetch('/api/v2/account/recover/',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
204No ContentResponse status codeNone