Command disabled: backlink

Update two-factor authentication settings.

Use command user/update_auth_params to change two-factor authentication settings.

svc=user/update_auth_params&params={"userId":<long>,
				    "type":<uint>,
				    "phone":<text>}

Parameters

Name Description
userId user ID
type type ( 0 - none, 1 - email, 2 - SMS )
phone phone number (if type:2)

Response

{
    "type":<uint>,
    "phone":<text>
}
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam