This repository has been archived by the owner on May 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
ph settings
Liam Jack edited this page Aug 25, 2015
·
5 revisions
/ph/settings
This is a multi-functional endpoint that can change multiple account settings.
Used to send a two factor authentication verification code to the account phone number.
-
action
:sendTwoFACode
timestamp
req_token
username
-
logged
:true
orfalse
message
Used to enable two factor authentication after receiving a verification code by SMS.
-
action
:enableTwoFA
-
code
: Verification code received by SMS (Example:986605
) dsig
dtoken1i
-
password
: This is the account username (Don't ask me why.) timestamp
req_token
username
-
logged
:true
-
two_fa_verified_devices
: Array of devices-
id
: Random UUID to identify the device -
last_login
: Timestamp of last login -
name
: Device name (Example:Android Device
)
-
-
logged
:false
message
Used to disable two factor authentication
-
action
:disableTwoFA
timestamp
req_token
username
-
logged
:true
orfalse