Get the password reset link of a person. This link is the same as the link in the password reset email. Thus, an administrator can send it by another way, for example when the email server is not set. If a reset token has one hour left or more, the route uses again the one that expires last. Else, the route makes a new token, valid for 2 hours. You must be an administrator.
POST
/actions/persons/{person_id}/reset-password-link
curl \
--request POST '/api/actions/persons/a24a6ea4-ce75-4665-a070-57453082c250/reset-password-link' \
--header "Authorization: $API_KEY"
Response examples (200)
{
"reset_password_link": "string"
}