Перейти до вмісту

Reset the one-time password of an account

Цей контент ще не доступний вашою мовою.

resetAccountOneTimePassword generates a new one-time password for the self-care portal login of an account and returns it. Use it for a “forgot password” flow: send the password to the user, who logs in with it and sets a new one. The account must belong to the authenticated customer.

Name Type Required Description
username string yes Web login of the account
Name Type Description
result string OK
password string The new one-time password
request
call("resetAccountOneTimePassword", {"username": "1001"})
response
{"result": "OK", "password": "Hd83kQpz"}