Skip to main content
PUT
Configure 2FA for a channel

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Path Parameters

channel
enum<string>
required
Available options:
email,
whatsapp,
sms

Body

application/json
user_email
string
required
two_factor_enabled
boolean
required
pin
string

4-6 digits. Omit to keep the existing PIN.

reverify_after_minutes
integer

60-1440. Required when two_factor_enabled is true.

Response

Security settings saved