Introduction

This API provides a secure procedure to change a user’s password when it has been lost or forgotten. The process has two steps: first, request a password reset for the user’s email, which sends a recovery email with a reset identifier; then, set the new password using that reset identifier.

Usage examples

Request a password reset for a user (the platform generates a token and sends a password recovery email):

curl --request POST \
     https://api.opengate.es/north/v80/provision/users/{userEmail}/reset

Set the new password using the reset identifier received by email:

curl --request POST \
     --header "Content-Type: application/json" \
     --data '{"password": "<new-password>"}' \
     https://api.opengate.es/north/v80/provision/users/{userEmail}/reset/{resetId}

API specification