Login OTP Config API
Create OTP login config
Create an OTP login configuration for the application.
POST
Create OTP login config
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The id of the app the request refers to. An application's unique identifier.
Examples:
"54e9ujn"
"fvua38g"
Body
application/json
Available options:
otp Example:
"otp"
Available options:
sms, email Example:
"sms"
Example:
"tpl_01jqebhswje1ka1z7ahr9rfsgt"
Example:
"Prelude"
Example:
false
Session scopes attached to the session when a login completes through this OTP configuration (for example prld:pwd:write).
Example:
["prld:pwd:write"]Response
Created
Create OTP login config