Перейти к содержимому

Reset a customer's one-time password

Это содержимое пока не доступно на вашем языке.

resetCustomerOneTimePassword generates a new one-time password for a web login and returns it, so you can send it to a user who forgot the password. You can reset it for your own web users and for the web users of your direct sub-customers; the root customer can reset it for any web user.

The one-time password is valid until the end of the day it was generated, by the switch’s clock. The regular password keeps working. A sign-in with the one-time password is reported by authCustomer as fault 410.

Name Type Required Description
web_login string yes Web Login of the customer or of one of its web users
Name Type Description
result string OK
password string The new one-time password, 8 characters
request
call("resetCustomerOneTimePassword", {"web_login": "acme-web"})
response
{"result": "OK", "password": "k7Pq2xVm"}
faultCode faultString Cause
402 Parameter web_login is required web_login is missing
403 Customer not found No web user with this login belongs to you or to your direct sub-customers