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 is valid, the route uses it again. Thus, a link that you sent before stays valid. Else, the route makes a new token. 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"
}