Email

Sending email through the API

Password management

Recover user password

get

When this call is made, it will check if the inserted email exists among the different types of registered users, if so, it will generate a new password, save it as a password for the user and send it by email to the indicated address.

Example:

https://server:5555/api/email/recuperapass/[email protected]

Parámetros de ruta
emailstringRequerido

Recovery email.

Respuestas
200

OK

Sin contenido

get
/email/recuperapass/{email}
200

OK

Sin contenido

Change user password

get

When this call is made, it will check if the inserted email exists among the different types of registered users and the password matches the password of that email, in which case it will save the new password as the password for the user.

Example:

https://server:5555/api/email/actualizapass/[email protected]/passantigua/nuevapass

Parámetros de ruta
emailstringRequerido

User's email address

passstringRequerido

User password

newpassstringRequerido

New user password

Parámetros de encabezado
AuthorizationstringRequerido

Bearer + JWT_token

Respuestas
200

OK

Sin contenido

get
/email/actualizapass/{email}/{pass}/{newpass}
200

OK

Sin contenido

Última actualización

¿Te fue útil?