Version 2.1.1792967583 · latest Download OpenAPI Markdown

Login policy

No authentication needed. Tells whether an account needs an email or SMS code to log in, with the masked destination.

login-policyUser accountsAuthentication: No auth1 endpoints

Get login policy

GET/api/v2/login-policy
Authentication: No auth

Query parameters

FieldTypeRequiredDescription
accountstringRequired Login name (username, email or phone number)

Login policy object

FieldTypeRequiredDescription
emailstring— Masked email
login_verifyLoginVerify— Second-factor login: none means not required; email / sms also require an email/SMS code at login (the platform must allow it and the address must be bound)
Values ["none","email","sms"]
phonestring— Masked phone number