Pre-enable email OTP

PUT /auth/email-otp

Prepare email OTP (One-Time Password) for enabling. It sets up email-based two-factor authentication.

Responses

  • 200

    Email OTP pre-enabled

  • 400

    Email OTP already enabled

PUT /auth/email-otp
curl \
 --request PUT 'http://api.example.com/auth/email-otp' \
 --header "Authorization: $API_KEY"