Use command user/update_auth_params to change two-factor autentification settings.
svc=user/update_auth_params¶ms={"userId":<long>, "type":<text>, "phone":<text>}
Name | Description |
---|---|
userId | user ID |
type | type ( 0 - none, 1 - email, 2 - SMS ) |
phone | phone number (if type:2) |
{ "type":<uint>, "phone":<text> }
|