Allow admin to change password for given user.
Prior to modifying the password, it requires to be admin. An admin can't change other admins password. The new password requires a confirmation to ensure that the admin didn't make a mistake by typing the new password.
POST
/actions/persons/{person_id}/change-password
curl \
--request POST 'http://api.example.com/actions/persons/a24a6ea4-ce75-4665-a070-57453082c25/change-password' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'password=string&password_2=string'
Response examples (200)
{
"success": true
}
Response examples (400)
{
"error": "string"
}